Hallo,
<HTML>
<HEAD>
<TITLE>Navigationsleiste</TITLE>
<SCRIPT language="JavaScript"><!--
Kommentar-Anfang
// Definieren der Variablen für aktive Buttons Script
var button1a = "ButtonStart.gif";
...
//-->
Kommentar-Ende
function Index1()
{
document.getElementById("button1").style.zIndex = 20;
...
}
//-->
nochmal Kommentar-Ende?
Versuch mal die ganzen Kommentierungen wegzulassen.
</SCRIPT>
<style type="text/css">
body {}
#button1 {position:absolute; top:0px; left:10px; z-index:12;}
...
scheint alles ok zu sein
</style>
</head>
<body text="#000000" link="#ff0000" vlink="#008000">
<body background="Farbverlauf11.jpg">
Zweimal body? Pack die Angaben doch auch ins CSS.
<div align="right">
<div id="button1">
<a href="start.html" target="Haupt"
onClick="
Index1()
Sollte hinter das Index1() nicht ein ';'?
tempbutton.src=tempimage;
tempbutton=b1;
tempimage=button1a;
b1.src=button1b;">
<img name="b1" src="Buttonstart2.gif" border="0" alt="Startseite"></a><br>
</div>
<div id="button2">
<a href="Vorstand.html" target= "Haupt" onClick="
Index2()
und hier auch?
...
Was anderes fällt mir auf den ersten Blick nicht auf.
Gruß, Jan