Robert Granlund
asked on
jQuery
This is probably a simple question. Is there a jQuery Plugin that will display a simple graphic while a page is busy loading?
ASKER
@Ranier, I was more interested in an progress bar that appears during the white screen between pages loading.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
@rainer
Do you think there is a way to run this as the page un- loads?
Do you think there is a way to run this as the page un- loads?
Hi,
sure - but does this really make sense?
Page unload normally means that the browser window / tab is closed or the user navigate further.
HTH
Rainer
sure - but does this really make sense?
Page unload normally means that the browser window / tab is closed or the user navigate further.
$(window).unload(function() {
$(".loader").show().fadeOut("slow");
})
HTH
Rainer
ASKER
@rainer. On my page there is an "Update" button that causes the page to re-fresh. There is a lot of content and JS that the page must go through before it does. During which is a White Screen. I'm trying to "soften" this experience.
Here is an example that you can adapt
http://smallenvelop.com/display-loading-icon-page-loads-completely/
http://smallenvelop.com/display-loading-icon-page-loads-completely/
here we go:
http://www.jqueryscript.net/loading/Simple-jQuery-Loading-Spinner-Overlay-Plugin-Loader.html
Or the jQuery UI component offer the ProgressBar addon:
http://jqueryui.com/progressbar/
HTH
Rainer