...

View Full Version : Display loading message



tomharto
02-12-2011, 05:44 PM
First of sorry if this is the wrong section and if it is can someone move this/tell me where to post this?

I have a iframe on my site what is quite large so it takes time to load so i want a loading text/image to display when its loading, i figure i could do a loading message in a div and once iframes loaded make the div hidden. I know divs can be shown/hidden using JS but i dont know how to code ot. Can someone give me a hand :)?

ankifreeze
02-16-2011, 01:19 AM
try this...

$().ajaxStart(function() {
$('#loading').show();
});
$().ajaxStop(function() {
$('#loading').hide();
});



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum