Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / March 2005



Tip: Looking for answers? Try searching our database.

no such interface supported when checking parent.frame.document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
threeflush@hotmail.com - 30 Mar 2005 23:56 GMT
I have some code that checks to see if a document object exists in a
sibling frame before continuing processing like:

if (parent.frames[4].document){
...
}

However, sometimes the frame I'm checking has an Adobe Reader 7.0 pdf
file in it.  If it does, and when it hits the above line of code, the
error message:

"No such interface supported"

The odd thing is this ONLY happens with Adobe 7.0.  6.0 and previous
work just fine.

I'm not able to find anything at the Adobe website regarding 7.0 and
all other references (that I've seen) to this error refer to IE 4.0 or
the window.open method.

Any ideas?  Thanks.
Arik Segal - 31 Mar 2005 19:47 GMT
I'm not sure if this solution is good for you, but maybe you can
devide the check in two. first check to see if the location string of
the frame ends with '.pdf', and only if it doesn't, go on to the
document object check.

--
Arik Segal

>I have some code that checks to see if a document object exists in a
>sibling frame before continuing processing like:
[quoted text clipped - 17 lines]
>
>Any ideas?  Thanks.
threeflush - 31 Mar 2005 22:40 GMT
Thanks Arik.  I will give that a try.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.