Ich habe folgende Hp mit Klappmenüs erstellt. Der IE blockt aktiven Inhalte! Ie dazu bringen nicht zu blocken?
<!-- DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd" -->
<style>
<!-- A:link {text-decoration: none; color: green; font-weight: bold}
A:visited {text-decooration: none; color: green; font-weight: bold}
A:hover {texration: none; color: green; font-weight: bold}
A:active {text-dect-decoration: none; color: green; font-weight: bold}
-->
</style><html>
<head><a href="dsjhg.html"></a>
<link href="logo2.bmp" rel="icon" /><title>CMM</title>
<style type="text/css">
body {
font: normal 100.01% Helvetica, Arial, sans-serif;
color: black; background-color: transparent;
}
div#Rahmen {
width: 100%
padding: 0.0em;
border: 1px;
background-color: ;
}
* html div#Rahmen { /* Korrektur fuer IE 5.x */
width: 48.7em;
w\idth: 47.1em;
}
div#Rahmen div {
clear: left;
}
ul#Navigation {
margin: 0; padding: 0;
text-align: center;
}
ul#Navigation li {
list-style: none;
float: left; /* ohne width - nach CSS 2.1 erlaubt */
position: relative;
margin: 0.4em; padding: 0;
}
* html ul#Navigation li { /* Korrektur fuer den IE 5 und 6 */
margin-bottom: -0.4em;
}
*:first-child+html ul#Navigation li { /* Korrektur fuer den IE 7 */
margin-bottom: -0.1em;
}
ul#Navigation li ul {
margin: 0; padding: 0;
position: absolute;
top: 1.6em; left: -0.4em;
display: none; /* Unternavigation ausblenden */
clear: left;
}
* html ul#Navigation li ul { /* Korrektur fuer IE 5.x */
left: -1.5em;
lef\t: -0.4em;
}
*:first-child+html ul#Navigation ul { /* Workaround fuer den IE 7 */
background-color: ; padding-bottom:0.4em;
clear: left;
}
ul#Navigation li:hover ul {
display: block; /* Unternavigation in modernen Browsern einblenden */
clear: left;
}
ul#Navigation li ul li {
float: none;
display: block;
margin-bottom: 0.2
ul#Navigation a, ul#Navigation span {
display: block;
width: 6.4em; /* Breite den in li enthaltenen Elementen zuweisen */
padding: 0.2em 1em;
text-decoration: none; font-weight: bold;
border: 0px;
border-left-color: ; border-top-color: ;
color: black; background-color: ;
}
* html ul#Navigation a, * html ul#Navigation span {
width: 8.6em; /* Breite nach altem MS-Boxmodell für IE 5.x */
w\idth: 6.4em; /* korrekte Breite fuer den IE 6 im standardkonformen Modus */
}
ul#Navigation a:hover, ul#Navigation span, li a#aktuell {
border-color: white;
border-left-color: black; border-top-color: black;
color: black; background-color: ;
}
li a#aktuell { /* aktuelle Rubrik kennzeichnen */
color: black; background-color: ;
}
li a#aktuell { /* aktuelle Rubrik kennzeichnen */
color: black; background-color: ;
}
ul#Navigation li ul span { /* aktuelle Unterseite kennzeichnen */
background-color: maroon;
}
td
td { height:200px; }
.oben { vertical-align:top; }
.mittig { vertical-align:middle; }
.unten { vertical-align:bottom; }
</style><script type="text/javascript">
Normal1 = new Image();
Normal1.src = "logo.bmp"; /* erste Standard-Grafik */
Highlight1 = new Image();
Highlight1.src = "logo2.bmp"; /* erste Highlight-Grafik */
Normal2 = new Image();
Normal2.src = "button2.gif"; /* zweite Standard-Grafik */
Highlight2 = new Image();
Highlight2.src = "button2h.gif"; /* zweite Highlight-Grafik */
Normal3 = new Image();
Normal3.src = "button3.gif"; /* dritte Standard-Grafik */
Highlight3 = new Image();
Highlight3.src = "button3h.gif"; /* dritte Highlight-Grafik */
function Bildwechsel (Bildnr, Bildobjekt) {
window.document.images[Bildnr].src = Bildobjekt.src;
}
<!--
if(window.navigator.systemLanguage && !window.navigator.language) {
function hoverIE() {
var LI = document.getElementById("Navigation").firstChild;
do {
if (sucheUL(LI.firstChild)) {
LI.onmouseover=einblenden; LI.onmouseout=ausblenden;
}
LI = LI.nextSibling;
}
while(LI);
}
function sucheUL(UL) {
do {
if(UL) UL = UL.nextSibling;
if(UL && UL.nodeName == "UL") return UL;
}
while(UL);
return false;
}
function einblenden() {
var UL = sucheUL(this.firstChild);
UL.style.display = "block"; UL.style.backgroundColor = "";
}
function ausblenden() {
sucheUL(this.firstChild).style.display = "none";
}
window.onload=hoverIE;
}
--></script>
</head>
<body background="">
<div class="oben" style="background-image:url(back.jpg); background-attachment:fixed; background-repeat:no-repeat; margin:0px, background-color:#0095BF; height:100%;"><div class="oben" style="background-attachment:fixed; background-repeat:no-repeat; margin:0px, background-color:#0095BF;"><p><br><br><div style="background-color:#FFFFFF; background-repeat:repeat-no; margin:0px; width:103%"> <a href="index.html" onmouseover="Bildwechsel(0, Highlight1)" onmouseout="Bildwechsel(0, Normal1)" target="_top"><img src="logo.bmp" alt="" border="" hspace="0" vspace="0"></div></a>
<h1></h1>
<div style="background-image:url(menue.gif); background-repeat:repeat-x; margin:0px, background-color:#0095BF; height:40px; width:103%"><div id="Rahmen" style="background-image:url(menue.gif); background-repeat:repeat-x; margin:0px, background-color:#0095BF; height:40px;"><ul id="Navigation">
<!-- <span> </span> -->
<!--background-color:#0095BF--><li><a href="index.html"><div style="background-image:url(bg2.JPG); background-repeat:repeat-x;"> Home </font></div></a>
</li>
<li><a href="comic.html"><div style="background-image:url(bg2.JPG); background-repeat:repeat-x;" align="center"> Comics </div><!--<br> --></a>
<ul><br>
<li><a href="comicframe1.html" target="_blank"><div align="left" style="background-image:url(bg8.JPG); background-repeat:repeat-y;"> Comic #1 </div ></a></li>
<li><a href="comicframe2.html" target="_blank"><div align="left" style="background-image:url(bg8.JPG); background-repeat:repeat-y;"> Comic #2 </div ></a></li>
<li><a href="comicframe3.html" target="_blank"><div align="left" style="background-image:url(bg8.JPG); background-repeat:repeat-y;"> Comic #3 </div ></a></li>
<li><a href="#Beispiel"><div style="background-image:url(bg2.JPG); background-repeat:repeat-x;" align="center"> Fun & More </div><!--<br> --></a>
<ul><br>
<li><a href="comicframe1.html" target="_blank"><div align="left" style="background-image:url(bg8.JPG); background-repeat:repeat-y;"> Links </div ></a></li>
<li><a href="comicframe2.html" target="_blank"><div align="left" style="background-image:url(bg8.JPG); background-repeat:repeat-y;"> Chat </div ></a></li>
<li><a href="comicframe3.html" target="_blank"><div align="left" style="background-image:url(bg8.JPG); background-repeat:repeat-y;"> Buch </div ></a></li>
<li><a href="comicframe4.html" target="_blank"><div align="left" style="background-image:url(bg8.JPG); background-repeat:repeat-y;"> USW: </div ></a></li>
</ul>
</li><br>
</ul><div></div></div>
</div>
</body>
</html>
Den Quelltext zum ausprobieren usw. gibts es auf
http://cmm.lima-city.de/index1.txt