Results 1 to 3 of 3

Thread: Preloading image question

  1. #1
    Join Date
    May 2007
    Posts
    99
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Question Preloading image question

    Hi!

    I have a popup that opens automatically when my home page opens, and currently you have to wait for the home page to load first before any images load in the popup window.

    If I want to preload an image in the popup so you see it right away on site load, do I put the preload script on the homepage, or the page I created for the popup window?

    Thanks in advance!
    Last edited by jscheuer1; 09-25-2007 at 08:46 PM. Reason: too small

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Preloading takes as long as loading, longer if the image is called for before the preloading is complete, because then the loading process starts over. To have any appreciable effect on a true pop up, the image would need to be preloaded on some other page, long before one gets to the page that pops up the pop up.

    Also, having:

    . . . a popup that opens automatically when my home page opens
    is virtually impossible in browsers with pop up blocking turned on, which almost do, these days. Perhaps you mean a DHTML pop up division, and not a pop up window. That could work, but if it is your home page, the first page people see on your site, preloading will not help. You could (if it isn't a pop up window) arrange things so that its image is one of the or the first to load on the page though. This can be done by having its HTML code be the first thing in the body of the page.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2007
    Posts
    99
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default

    Thank you!

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
  •