T
Thomas Maier-Komor
Hi everybody,
I have a problem with a certain link pattern that gets resolved wrong in
the IE, but works find on Firefox. Maybe somebody has an idea, how to
work around it.
I have an .html file that has a CSS and two div sections, the body
itself is empty. One div section has an embedded object of type
"text/html" that is a table of contents. This embedded object includes
links with target _top that are opened in Firefox in _top, but are
opened in IE in the div section that contains the object holding the
table of contents .html file. Understand what I mean?
Simplified code sample:
index.html:
<html>
<head>
<title>my title</title>
<link rel="stylesheet" type="text/css" href="default.css"/>
</head>
<body>
<div id="toc">
<object data="toc.html" type="text/html" height="100%"
width="220px"></object>
</div>
<div id="body">
some text
</div>
</body>
</html>
toc.html:
<html>
<head>
<title>table of contents</title>
<link rel="stylesheet" type="text/css" href="toc.css"/>
</head>
<body>
<h3> header </h3>
<ul>
<li><a href="1.html" target="_top">entry1</a></li>
<li><a href="2.html" target="_top">entry2</a></li>
</ul>
</body>
</html>
This works perfectly in Firefox and has the advantage that I only need
to maintain a single file for the TOC, without server-side includes,
javascript, php, or anything else. But it does not work in Internet
Explorer...
I would be grateful for any hint or idea how to get it working.
TIA,
Tom
I have a problem with a certain link pattern that gets resolved wrong in
the IE, but works find on Firefox. Maybe somebody has an idea, how to
work around it.
I have an .html file that has a CSS and two div sections, the body
itself is empty. One div section has an embedded object of type
"text/html" that is a table of contents. This embedded object includes
links with target _top that are opened in Firefox in _top, but are
opened in IE in the div section that contains the object holding the
table of contents .html file. Understand what I mean?
Simplified code sample:
index.html:
<html>
<head>
<title>my title</title>
<link rel="stylesheet" type="text/css" href="default.css"/>
</head>
<body>
<div id="toc">
<object data="toc.html" type="text/html" height="100%"
width="220px"></object>
</div>
<div id="body">
some text
</div>
</body>
</html>
toc.html:
<html>
<head>
<title>table of contents</title>
<link rel="stylesheet" type="text/css" href="toc.css"/>
</head>
<body>
<h3> header </h3>
<ul>
<li><a href="1.html" target="_top">entry1</a></li>
<li><a href="2.html" target="_top">entry2</a></li>
</ul>
</body>
</html>
This works perfectly in Firefox and has the advantage that I only need
to maintain a single file for the TOC, without server-side includes,
javascript, php, or anything else. But it does not work in Internet
Explorer...
I would be grateful for any hint or idea how to get it working.
TIA,
Tom