Daniel: Navigationsleiste von JavaScript auf CSS portieren

Beitrag lesen

Hallo,

Also ich verstehe dich nicht wirklich, das ist doch genau das was du haben willst. Und positionieren kannst du deine Links doch mit CSS ganz anders als die, das hat mit dem System nichts zu tun. Kannst du noch einmal erklären was du genau machen willst?

Zum besseren Verständnis hier mal ein Beispiel der aktuellen JS-Navigation. Die Buttonbeschriftung ist das GIF selber.

<html>
<head>
<title></title>
<script type="text/javascript">
<!--
Hier stehen die JS-Funktionen MM_swapImgRestore, MM_preloadImages, MM_findObj und MM_swapImage.
//-->
</script>
</head>
<body onload=";MM_preloadImages('button1_hover.gif','button2_hover.gif')">
<div style="position:absolute; left:20px; top:30px"><a href="link1.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('link1','','button1_hover.gif',1)"><img src="button1.gif" name="link1" width="120" height="28" alt=""></a></div>
<div style="position:absolute; left:20px; top:60px"><a href="link2.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('link2','','button2_hover.gif',1)"><img src="button2.gif" name="link2" width="120" height="28" alt=""></a></div>
</body>
</html>