By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,481 Members | 1,211 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,481 IT Pros & Developers. It's quick & easy.

iFrame problem in Firefox/Mozilla

P: n/a
Hello,

I have a Web Site that displays the contents of another Web Site via
iFrame. It is at:

http://true-love-quiz.com/page1.html

If this Web Site is brought up via Internet Explorer, there is some
text "Height 400" near the top of the page, and the "HourGlass" is not
being displayed (indicating processing is done).

When I bring this same Web Site up via Mozilla or Firefox, the "Height
400" disappears, and the "HourGlass" is being displayed (is it still
processing?).

Can someone help me figure out what is wrong when I render this Web
Site via Mozilla or Firefox?

Thanks.

PS: If there is a better way to do this, please let me know...

Dec 1 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I get pretty much the same result in firefox as in explorer (like the
description of MSIE behaviour you made). Although I get some errors on
the page.

1. this.contentDocument is not an object (in onLoad of the IFRAME). Be
careful of what you are referring to when you use "this". It depends on
the context of which it appears in. I don't know if you were referring
to the IFRAME with "this"... but in that context it referrs to window.

2. document.frames() is not a function. I'd use
document.getElementById("NAME").

If you're still having problems with the hourglass that won't
dissapear, it can be caused by some function doing document.write or
something on the IFRAME. If you're not careful with "write" the closing
</head>, </html> or </body> might have been lost... thats just a wild
guess of what could have been the problem before (since it doesn't seem
to be now).

Dec 2 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.