Hallo,
Ich hab das Problem, dass die Icons unter "Google Chrome" falsch dargestellt werden unter Firefox funktioniert es allerding (Cookies/Cache habe ich schon gelöscht).
Zur Erklärung:
Wenn man über die Symbole fährt, soll eine kleine Übersicht "ausfahren", dies habe ich über ein Coolmenü gelöst.
So sieht es unter Chrome aus:
http://saved.im/mtkzmzeyc2n1/falsch.png
Und so sollte es aussehen:
http://saved.im/mtkzmzezn2l5/richtig.png
Hier der Code:
Code: <style type="text/css" media="screen">
<!--
/* Coolmenü */
body
{
font-family: Verdana, sans-serif;
font-size: 10px;
overflow: auto;
padding: 10px;
margin: 0px;
}
ul, li
{
list-style-type: none;
padding: 0px;
margin: 0px;
}
li a
{
padding-right: 5px;padding-top: 0px;
}
div.menu
{
position: absolute;
z-index: 3;
top: 253px;
left: 50%
margin-left:-500px;
width:905px;
}
.menu li
{
width:50px;
float: left;
}
.menu a
{
border: 0px solid #000000;
background-color: #000000;
background-image: url();
text-decoration: none;
text-align: center;
font-weight: bold;
cursor: pointer;
margin: 0px;
display: block;
height: 40px;
color: #000000;
}
.menu a:hover
{
background-color: #000000;
background-image: url();
}
#smenu1, #smenu2, #smenu3, #smenu4, #smenu5, #smenu6, #smenu7, #smenu8, #smenu9, #smenu10, #smenu11, #smenu12
{
font-size: 0px;
display: none;
width: 0px;
float: left;
}
#smenu1 a, #smenu2 a, #smenu3 a, #smenu4 a, #smenu5 a, #smenu6 a, #smenu7 a, #smenu8 a, #smenu9 a, #smenu10 a, #smenu11 a, #smenu12 a
{
font-weight: bold;
padding-top: 10px;
border-top: 110px;
cursor: pointer;
color: #FFFFFF;
}
//-->
</style>
<script type="text/javascript">
<!--
function montre(id)
{
with (document)
{
if (getElementById)
getElementById(id).style.display = 'block';
else if (all)
all[id].style.display = 'block';
else
layers[id].display = 'block';
}
}
function cache(id)
{
with (document)
{
if (getElementById)
getElementById(id).style.display = 'none';
else if (all)
all[id].style.display = 'none';
else
layers[id].display = 'none';
}
}
//-->
</script>
<div class="menu" style="left: 50%; margin-left: -303px;">
<li><a onmouseout="cache('smenu1');" onmouseover="montre('smenu1');" href="javascript:void(0);"><img src="http://saved.im/mtkyotyzbjns/screenshot2011-03-1715_34_121.jpg" /></a>
<ul onmouseout="cache('smenu1');" onmouseover="montre('smenu1');" id="smenu1">
<li><a href=""><img src="http://saved.im/mtkyoty1zxfm/screenshot2011-03-1715_34_12.jpg" /></li>
</ul>
</li>
<li><a onmouseout="cache('smenu2');" onmouseover="montre('smenu2');" href="javascript:void(0);"><img src="http://saved.im/mtkyotm5nwt2/screenshot2011-03-1715_35_201.jpg" /></a>
<ul onmouseout="cache('smenu2');" onmouseover="montre('smenu2');" id="smenu2">
<li><a href=""><img src="http://saved.im/mtkyotqwmzvn/screenshot2011-03-1715_35_20.jpg" /></li>
</ul>
</li>
<li><a onmouseout="cache('smenu3');" onmouseover="montre('smenu3');" href="javascript:void(0);"><img src="http://saved.im/mtkyotmwnhdx/screenshot2011-03-1715_33_411.jpg" /></a>
<ul onmouseout="cache('smenu3');" onmouseover="montre('smenu3');" id="smenu3">
<li><a href=""><img src="http://saved.im/mtkyotm1agvn/screenshot2011-03-1715_33_41.jpg" /></a></li>
</ul>
</li>
<li><a onmouseout="cache('smenu4');" onmouseover="montre('smenu4');" href="javascript:void(0);"><img src="http://saved.im/mtkyotm3ogdq/screenshot2011-03-1715_34_541.jpg" /></a>
<ul onmouseout="cache('smenu4');" onmouseover="montre('smenu4');" id="smenu4">
<li><a href=""><img src="http://saved.im/mtkyotm4zm5w/screenshot2011-03-1715_34_54.jpg" /></a></li>
</ul>
</li>
<li><a onmouseout="cache('smenu5');" onmouseover="montre('smenu5');" href="javascript:void(0);"><img src="http://saved.im/mtkzmdq5dzg5/screenshot2011-03-1718_10_352.jpg" /></a>
<ul onmouseout="cache('smenu5');" onmouseover="montre('smenu5');" id="smenu5">
<li><img src="http://saved.im/mtkzmdq3nhlj/screenshot2011-03-1718_10_32.jpg" /></li>
</ul>
</li>
<li><a onmouseout="cache('smenu6');" onmouseover="montre('smenu6');" href="javascript:void(0);"><img src="http://saved.im/mtkyoty5atnt/screenshot2011-03-1715_35_133.jpg" /></a>
<ul onmouseout="cache('smenu6');" onmouseover="montre('smenu6');" id="smenu6">
<li><img src="http://saved.im/mtkzmdu1mwrr/screenshot2011-03-1715_35_13.jpg" /></li>
</ul>
</li>
<li><a onmouseout="cache('smenu7');" onmouseover="montre('smenu7');" href="javascript:void(0);"><<img src="http://saved.im/mtkyotc5exnz/screenshot2011-03-1715_35_051.jpg" /></a>
<ul onmouseout="cache('smenu7');" onmouseover="montre('smenu7');" id="smenu7">
<li><a href="http://saved.im/mtkyotcwmjzt/screenshot2011-03-1715_35_13.html"><img src="http://saved.im/mtkyotc1z3a4/screenshot2011-03-1715_35_05.jpg" /></li>
</ul>
</li>
<li><a onmouseout="cache('smenu8');" onmouseover="montre('smenu8');" href="javascript:void(0);"><img src="http://saved.im/mtkzmdm1dwvx/screenshot2011-03-1715_33_519.jpg" /></a>
<ul onmouseout="cache('smenu8');" onmouseover="montre('smenu8');" id="smenu8">
<li><img src="http://saved.im/mtkzmdm4bwf3/screenshot2011-03-1715_33_59.jpg" /></li>
</ul>
</li>
<li><a onmouseout="cache('smenu9');" onmouseover="montre('smenu9');" href="javascript:void(0);"><img src="http://saved.im/mtkyotg1zjnx/screenshot2011-03-1715_34_015.jpg" /></a>
<ul onmouseout="cache('smenu9');" onmouseover="montre('smenu9');" id="smenu9">
<li><a href="http://saved.im/mtkyotcwmjzt/screenshot2011-03-1715_35_13.html"><img src="http://saved.im/mtkyotg3zgw1/screenshot2011-03-1715_34_05.jpg" /></li>
</ul>
</li>
<li><a onmouseout="cache('smenu10');" onmouseover="montre('smenu10');" href="javascript:void(0);"><img src="http://saved.im/mtkzmdqydwu2/screenshot2011-03-1715_34_3356.jpg" /></a>
<ul onmouseout="cache('smenu10');" onmouseover="montre('smenu10');" id="smenu10">
<li><img src="http://saved.im/mtkzmdq0c3pm/screenshot2011-03-1715_34_36.jpg" /></li>
</ul>
</li>
<li><a onmouseout="cache('smenu11');" onmouseover="montre('smenu11');" href="javascript:void(0);"><img src="http://saved.im/mtkzmdiyztq5/screenshot2011-03-1715_34_213.jpg" /></a>
<ul onmouseout="cache('smenu11');" onmouseover="montre('smenu11');" id="smenu11">
<li><img src="http://saved.im/mtkzmdm5b2kz/screenshot2011-03-1715_34_2113.jpg" /></li>
</ul>
</li>
<li><a onmouseout="cache('smenu12');" onmouseover="montre('smenu12');" href="javascript:void(0);"><img src="http://saved.im/mtkzmdiyztq5/screenshot2011-03-1715_34_213.jpg" /></a>
<ul onmouseout="cache('smenu12');" onmouseover="montre('smenu12');" id="smenu12">
<li><img src="http://saved.im/mtkzmdm5b2kz/screenshot2011-03-1715_34_2113.jpg" /></li>
</ul>
</li>
</div>
Kann jemand einen Fehler im Code entdecken?
Danke schon mal
Zuletzt bearbeitet von meine-drops am 18.03.2011, 13:54, insgesamt einmal bearbeitet
|