Support » Fixing WordPress » Delay loading of background image

  • Resolved cableghost


    I have set a background image for a div to show only when the ad in the div is blocked. Upon page loading though, the background image appears first, then the ad appears.

    I have tried the following functions, but they give me syntax errors. I would appreciate having either function cleaned up, or I would certainly try an alternative…thanks.

    function loadBG(){
    function show() {
        AB = document.getElementById('id'); = 'inline';
    setTimeout("show()", 5000);


  • The topic ‘Delay loading of background image’ is closed to new replies.