How to delay loading a large background image
1 answer
If it is a background image you can use the Javascript onLoad event. This event is fired only after the entire page has finished loading.
Example:
function loadBGIMG(){
document.getElementById("any-menu").style.backgroundImage="url(../images/any-menu.jpg)";
}
window.onload=loadBGIMG();
+1
source to share