Results 1 to 2 of 2

Thread: loading order script

  1. #1
    Join Date
    Jan 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default loading order script

    Hi,

    I'm looking for some kind of script which can help me to control the loading order of the content of my page...
    I want this because I have to call a javascript from a foreign server (as an ad banner), but this takes too much time, and since the ad is at the top of my page, visitors have to look at an empty screen until the content from the other server comes... It would be better for me if I could load the whole content and then wait for the ad to come..?

    Hope I could explain what I'm looking for...

  2. #2
    Join Date
    Dec 2007
    Location
    Ankara, Turkey
    Posts
    160
    Thanks
    2
    Thanked 2 Times in 2 Posts

    Default

    Hmm. You can define a div which will contain the banner and then make a function, which fills the above mentioned div with the banner and call this function on page's load event.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •