Hi,
I'm basically trying to load a div using a ajax - displaying a loading image until the content has loaded. The client wants the loading image to display for a couple of seconds before the content appears. How can I do this? My code (that works) is below:
Thanks
I'm basically trying to load a div using a ajax - displaying a loading image until the content has loaded. The client wants the loading image to display for a couple of seconds before the content appears. How can I do this? My code (that works) is below:
Code:
$('#content-full').html('<p><img src="ajax-loader.gif" width="100" height="100" /></p>');
$('#content-full').load("gallery.php");
Thanks
Last edited: