Results 1 to 10 of 10

Thread: IFrame flashes in browser!!

  1. #1
    Join Date
    Sep 2004
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default IFrame flashes in browser!!

    I have 2 IFrames in my site but when they are loading in the browser, they remain white until the content has loaded. The content in one of the frames is just text.
    The pages that are loading into the frame have a blue background assigned, so does the table cells that they load into??
    Any ideas????

    Thank you.

  2. #2
    Join Date
    Nov 2004
    Location
    Here to often...
    Posts
    53
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi,
    it is because the iframe is one document waiting for the new document (blue background) to load into it. For some reason an iframe remains white, I have tried all different style codes myself to figure this out to no avail when I figure it I will give you a heads up!

    Regards
    Donna x

  3. #3
    Join Date
    Sep 2004
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Turkey

    Thank you Miss Donna.
    Please hurry and figure it out as it looks silly on my site!

    Regards,
    RICHARD



    Too many cooks wont fit in the kitchen!

  4. #4
    Join Date
    Dec 2004
    Location
    Windsor, UK.
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I don't quite understand, (as usual), but surely if you just set the background colour in your first frame right near the start, it'll load that within seconds. The white colour you see before a page loads is the default colour, like the default text colour is black. This can't be changed, it's an option the user can set in their browser.

  5. #5
    Join Date
    Nov 2004
    Location
    Here to often...
    Posts
    53
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It does load however if the user is on dial up it leaves a white box for a little longer, just irritating more than anything! Im sure there will be a way to change this as it is ever evolving.

    Donna x

  6. #6
    Join Date
    Dec 2004
    Posts
    157
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    do you have a css? you can add a background color in there, or add
    a css script in the head.

  7. #7
    Join Date
    Dec 2004
    Location
    Windsor, UK.
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Would make no difference. The white is what is shown before the page loads any information. As no informatin as not yet been loaded, it does not no what colour to make it. This is the same in CSS as it in in traditonal HTML.

    You don't even notice it on my computer, and I have a 256kbs. Many people are now on 512kbs+

  8. #8
    Join Date
    Dec 2004
    Posts
    157
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    well then i dont know, cuz you cant specify the color of a frame can you?

  9. #9
    Join Date
    Dec 2004
    Location
    Windsor, UK.
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    No, but even if you could, it would still show the white (or other default colour, depending on browser/users...) before it loaded this information, so you'd still see a brief white flash.

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

    Default

    I'd suggest hiding the iframe before 'location' property change, and restore it as soon as inner document is loaded.

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
  •