How can I display an ajax indicator before all the images within a website layout were loaded?
Thanks in advance.
Use JQuery. Please.
$("#loading").ajaxStart(function() {
$(this).show();
});
$("#loading").ajaxStop(function() {
$(this).addClass('ohmy').hide('slow');
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With