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...??
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…