Detect if iframes successfully load

Discussion in 'Javascript' started by Remy Sharp, Jul 24, 2003.

  1. Remy Sharp

    Remy Sharp Guest

    Hi,

    My problem is that I want to load an iframe with a window of content.
    However, if the target web site is down, I want to hide the iframe
    from the page, hence hiding the error.

    I've tried to using onError within the iframe tag - but this doesn't
    seem to be supported.

    Also - I want to avoid having to put an onError or onLoad in the body
    tag of either windows (I've seen this as one possible solution in the
    past).

    Is there any way to do this?

    Thanks!

    Remy.
     
    Remy Sharp, Jul 24, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. walala
    Replies:
    4
    Views:
    1,231
    Technology Consultant
    Sep 9, 2003
  2. chriscomer
    Replies:
    1
    Views:
    2,549
    sopan007
    Jul 18, 2006
  3. Replies:
    2
    Views:
    9,925
  4. damezumari
    Replies:
    3
    Views:
    816
    damezumari
    Nov 8, 2007
  5. iFrames Page load

    , May 2, 2005, in forum: Javascript
    Replies:
    6
    Views:
    131
Loading...

Share This Page