Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Detect if iframes successfully load

Thread Tools

Detect if iframes successfully load

Remy Sharp
Posts: n/a

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

Is there any way to do this?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
iframes - how do I detect the page of origin? damezumari HTML 3 11-08-2007 08:06 PM
iFrames Page load Javascript 6 05-03-2005 06:30 PM
Has anyone successfully created a VPN tunnel between a Cisco 2600 and Linksys BEFSX41 Clement Kim Cisco 4 02-08-2004 03:13 AM
Can HSRP on Cisco Routers successfully interface with VRRP on Nokia Firewalls? james Cisco 1 10-29-2003 10:01 PM
SOS! newbie question about synthesizable VHDL : synthesis run successfully but post-synthesis failed... walala VHDL 4 09-09-2003 08:41 AM