$(document).ready(function(){
$("#splash").fadeOut('6000');
$.mobile.changePage("index.html");
});
I am new to jQuery and want to fade out the page with ID splash after it displays for about 5 seconds and then redirect it to the index page.
My problem is that the splash screen doesn't seem to stay on for more than a second even though I have specified the time.