View Full Version : iFrame script not working in IE8 & FF

06-28-2012, 08:02 PM
1) Script Title:
Iframe SSI script II

2) Script URL (on DD):

3) Describe problem:
The script doesn't seem to work in IE 8 or FireFox even though compatability is listed as..
IE 5 and above. Firefox 1.0+. NS6+ and FF beta are assumed as well. Opera 7 and above.

Instead of the page loading into the specified iFrame, it opens in a new window.

The script works great in chrome and even on an iPad. Odd.

Any ideas? Thanks

06-28-2012, 08:17 PM
Well, while waiting for replies and googling around, i found the solution.
For anyone that cares:

The code gives the iframe an id...
<iframe id="myframe" src="externalpage.htm" (etc)>

But apparently IE and FF don't recognize the "id" tag to define the iframe, they both prefer the "name" tag. So, changed my code to...
<iframe id="myframe" name="myframe" src="externalpage.htm" (etc)>

And it works in all browsers. Who knew? (well, apart from The Google)

07-01-2012, 08:41 AM
and thanks for posting.

Though it does not work yet. Since I updated FF it does not resize the iFrame anymore. I followed your suggestion, and added the "name" tag - it doesn't work.

Did you change anything in the script itself?