jquery - Show Progress Bar And disable all contents of the page until page loads -


i have lots of asp.net pages in contents of page has been placed inside content panel on each page..they takes time load when requested. want show gif image , page remains un-editable until loads using jquery.. please don't give examples using div tag m dealing content panel. ideas??

something along lines of:

// once dom ready $(function(){     // show #yourwrapper loader img });  // once loaded $(window).load(function(){     // hide #yourwrapper }); 

the loader img can div/asp:panel css style. important setup height 100% on html, body element.

html, body { height: 100%; } #yourwrapper { height: 100%; background: url("../art/loader.png") no-repeat scroll 50% 50% transparent; overflow: hidden; } 

Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -