Top Frame disappears in IE

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
The top frame is disappearing in IE6.0.

The Frame implementation are correct.

When I click a link at the bottom frame, setting the anchor tag
target="_self", it brings the page appropriately.
But by continuous clicks on the links in the bottom frame, the top frame
disappears in IE.

All browsers NN+Firefox,Mozilla works fine.

Only IE disappears.

below is the code.

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<title>Intoto Inc</title>
</head>
<FRAMESET rows="20%,*" frameborder="0" framespacing="0" >
<FRAME name="headerFrame" src="welcomeheader.xml" scrolling="no"
frameborder="0" marginheight="0" marginwidth="0"/>
<FRAME name="pageFrame" src="welcome.xml" frameborder="0" marginheight="0"
marginwidth="0"/>
<NOFRAMES>
<body>
<p>Please upgrade to a version 4 or higher browser so that you can
use this setup tool (and see lots of great sites on the Internet!)</p>
</body>
</NOFRAMES>
</FRAMESET>

</html>
</xsl:template>
</xsl:stylesheet>

Please suggest whats wrong

Regards
Dinesh.T
 
Dinesht,

I have been doing alot of HTML lately, with minorly using frames, but with
the way I have been doing frames in the past, I always used the name of the
frame for the target instead of _self:

Try using target="pageFrame" instead of target="_self". You could be
confusing IE to think that you mean the entire browser window instead of just
the certain frame.

Hope it works out!
 
Hi Merill,
The problem is top frame disappear only with XSLT but not in html.
I fixed the problem. instead of using href ="filename.html", i use
javascript function calling in href and inside used
window.location="filename.html", this avoids top frame disappear leaving an
alert saying "This may cause serious error or something"

There is a bug in IE, Please correct it.
 
Back
Top