homepage Welcome to WebmasterWorld Guest from 50.17.7.84
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Iframe content won't show in IE8, but works in FF and Chrome
weblance




msg:4130843
 3:09 pm on May 11, 2010 (gmt 0)

I have a webpage that uses an iframe. The iframe links to an external website. Problem is that the iframe content doesn't show in IE8, but it does in both FF and Chrome.

Code:

<iframe src ="http://www.example.com/index.asp" width="100%" height="100%" frameborder="0"></iframe>

It works fine if I add the remote domain to my IE trusted zone.

How can I get it to work in IE without having to add the remote domain?

/Carl

[edited by: tedster at 3:41 pm (utc) on May 11, 2010]
[edit reason] switch to example.com - it cannot be owned [/edit]

 

tedster




msg:4130860
 3:41 pm on May 11, 2010 (gmt 0)

hello weblance, and welcome to the forums.

Are you testing this on a server?

weblance




msg:4130885
 4:21 pm on May 11, 2010 (gmt 0)

Yes both websites are on a server - different ones.

The index.asp file looks like this:

<%Option Explicit%>
<%Response.Expires=-1%>
<!-- #include File=InitFile.Lib-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fo" lang="fo">

<head>
<title>Online Katalog</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<frameset rows="*,<%=Session("output").HeightBF%>">
<frameset cols="<%=Session("output").WidthLF%>,*">
<frame name="Contents" src="LFStock.asp" frameborder="0" />
<frame name="MainFrame" src="CFStock.asp" frameborder="0" />
</frameset>
<frame name="Bottom" scrolling="no" noresize="noresize" src="BFStock.asp" marginwidth="0" marginheight="0" frameborder="0" />
<noframes>
<body>
<p><%=Session("Output").Label(901)%></p>
</body>
</noframes>
</frameset>
</html>

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved