i am trying to show the page loading widget till the page loads completely, after that it should hide... and do this process every time i punch any anchor to transmit into next page..
Support i have three pages...
<div data-role="page" id="home">....</div>
<div data-role="page" id="about">....</div>
<div data-role="page" id="contact">....</div>
Script on this i am using:-
$(document).on("pagecreate", function(event) {
//alert("Take It Show");
$( ".ui-loader" ).loading( "hide" );
});
Is it possible to add transition like data-transition="slide"
to the any anchor or use data-ajax="false"
in it...??
Working example: http://jsfiddle.net/Gajotres/Zr7Gf/
Basically javascript from the bottom is all you need.
HTML :
Javascript :