JS Background Resize issue.

Out of context: Reply #6

  • Started
  • Last post
  • 12 Responses
  • boat0

    ^ Im no dev so its probably shit.

    <script>
    function downLoad(){
    if (document.all){
    document.all["preload"].style.vi...
    document.all["load"].style.visib...
    } else if (document.getElementById){
    node = document.getElementById("preload...
    node = document.getElementById("load...
    }
    }
    </script>

    in your body put
    <body onload="downLoad()">
    <div id="preload" class="preload"> all content you want loaded at the start like a shitty spinning circle to think that crap is loading </div>

    <div id="load" class="load"> this crap is hidden untill fully loaded, so put your giant cock images here</div>

    Profit

View thread