$("<div style='background-color: white' class='ui-loader ui-overlay-shadow ui-body-e ui-corner-all'><h1>Enter From Location</h1></div>").css({ "display": "block", "opacity": 0.96, "top": $(window).scrollTop() + 300 }) .appendTo( $.mobile.pageContainer )
.delay( 1500 ) .fadeOut( 400, function(){ $(this).remove();
});
Thanks for sharing. Another good resource jquery menus.
ReplyDelete