Open page after 2 seconds with js on intel xdk

1

I'm using intel xdk. On the first page has the system logo, I want the system home page to be loaded after 2s.

As a test I did this with button to see how it is done, but I'm not sure how to do it to load automatically after 2s.

See:

$(document).on("click", ".uib_w_2", function(evt){
         activate_page("#inicio"); 
    });
    
asked by anonymous 10.12.2015 / 20:04

1 answer

1

I did it!

For those of you with the same question, follow the answer:

setTimeout(function() {
    activate_page("#inicio"); 
}, 2000) ;
    
10.12.2015 / 20:28