Linked Frame Target: Opens in IE, Doesn't in FF
Posted by: Mellowdrone
Posted on: 2006-05-28 08:53:00
Hey guys.
I'm trying to figure out what's up with a frame-linked target="" and why it opens correctly in Internet Explorer but opens a brand new window in Firefox.
The examples are below. My apologies for the sloppy work, but I've been trying to get this working properly for the past two or three hours or so and I just don't care about formatting at the moment.
The index page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>example</title>
</head>
<frameset cols="33%,66%">
<frame src="1sdleft2.html" scrolling="yes" />
<frame src="1sdright.html" name="content" scrolling="no" />
<noframes>
<body>
<p> </p>
</body>
</noframes>
</frameset>
</html>
The left frame:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>example</title>
</head>
<body>
<a href="1sdright2.html" target="content">1sdright</a>
</body>
</html>
The right frame:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>example</title>
</head>
<body>
1sdright.html
</body>
</html>
The right-linked frame:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>example</title>
</head>
<body>
1sdright2.html
</body>
</html>
Like I said earlier, things work fine in IE, but Firefox is a whole different matter -- why it opens in a brand new window is beyond me. Any idea why this is going on?
Edited by Mellowdrone on 05/28/06 08:56 AM (server time).