Open page after 2 seconds with js on intel xdk

Asked

Viewed 215 times

1

I’m using the intel xdk. On the first page is the system logo, I want the system homepage loaded after 2s.

As a test I did it with button to know how it is done, but I am not able to do to automatically load after 2s.

Behold:

$(document).on("click", ".uib_w_2", function(evt){
         activate_page("#inicio"); 
    });

1 answer

1

I got!

For those who have the same question follow the answer:

setTimeout(function() {
    activate_page("#inicio"); 
}, 2000) ;
  • Mark your answer as accepted

Browser other questions tagged

You are not signed in. Login or sign up in order to post.