View Full Version : iframe issue in Internet Explorer only
06-01-2010, 11:14 PM
I have a problem in IE8 with opening webpages within the iframe. It works fine in firefox but inrnet explorer just opens the page outside the iframe all the time.
Any ideas of how to fix this for cross browser compatibility?
This is my code:
<IFRAME height=700 src="vsogallery/index.php" frameBorder=0 width=900 target="_self"> </IFRAME>
i also tried
<IFRAME height=700 src="vsogallery/index.php" name="test" frameBorder=0 width=900 target="test"> </IFRAME>
06-02-2010, 12:29 AM
06-02-2010, 08:59 AM
We really need all your code or better a link.
06-02-2010, 02:57 PM
Dunno if this helps at all, but I'm having a similar problem.
I'm loading multiple search engine nginer.com into an iframe as part of a tutorial on search engines.
Nginer itself is loading search results into an iframe, so it's a bit like Russian dolls.
I've decided not to spend any more time on it; I'm just going to link to the page instead.
06-02-2010, 04:53 PM
Why have you even got a target attribute on your iframe tag, it doesn't accept this attribute, therefore i'm unsure on exactly what you are trying to achieve here...but it sounds as if you want it something like this:
<iframe src="vsogallery/index.php" width="900" height="700" frameborder="0" name="iframe"></iframe>
Don't forget to wrap attribute values around quotes as this could also cause problems..
Then when you want to load different content into the iframe you'd have your link setup like this:
<a href="content.html" target="iframe" />Link Text</a>
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.