DarealZnarkde
New member
Hey, ich habe ein nettes Navigations-Script geschrieben. Das einzigste Problem ist, das es flackert sobald man es aufruft und es sich teilweise nicht mehr richtig schließt.. Hier ein direkter Link und hier das Script:
Hoffe, ihr könnt mir helfen!
Code:
<html>
<head>
<title>Beyond the System</title>
<base target="Content">
<link rel="stylesheet" type="text/css" href="css/navigation_01.css">
<link rel="stylesheet" type="text/css" href="css/text_nav.css">
<script>
function menue(layer) {
if (layer.style.visibility=="visible") {
layer.style.visibility="hidden";
}else{
layer.style.visibility="visible";
}
}
</script>
</head>
<body>
<center>
<table border="0" cellspacing="30" cellpadding="0">
<tr>
<td background="img/music_nav.gif" onmouseover="this.background='img/music_nav_2.gif';" onmouseout="this.background='img/music_nav.gif';" >
<div id="pointer" onMouseOver="menue(music);" onMouseOut="menue(music);">Music</div>
<div id="music" onMouseOut="menue(music);">
<table border="0" cellspacing="0" cellpadding="0" background="img/music_nav.gif">
<tr>
<td onmouseover="this.background='img/music_nav_2.gif';" onmouseout="this.background='img/music_nav.gif';" >
CDs
</td>
</tr>
<tr>
<td onmouseover="this.background='img/music_nav_2.gif';" onmouseout="this.background='img/music_nav.gif';" >
Lyrics
</td>
</tr>
<tr>
<td onmouseover="this.background='img/music_nav_2.gif';" onmouseout="this.background='img/music_nav.gif';" >
Translation
</td>
</tr>
<tr>
<td onmouseover="this.background='img/music_nav_2.gif';" onmouseout="this.background='img/music_nav.gif';" >
Interpretation
</td>
</tr>
</table>
</div>
</td>
<td background="img/artists_nav.gif" onmouseover="this.background='img/artists_nav_2.gif';" onmouseout="this.background='img/artists_nav.gif';" >
<div id="pointer" onMouseOver="menue(artists);" onMouseOut="menue(artists);">Artists</div>
<div id="artists" onMouseOut="menue(artists);">
<table border="0" cellspacing="0" cellpadding="0" background="img/artists_nav.gif">
<tr>
<td onmouseover="this.background='img/artists_nav_2.gif';" onmouseout="this.background='img/artists_nav.gif';">
Serj
</td>
</tr>
<tr>
<td onmouseover="this.background='img/artists_nav_2.gif';" onmouseout="this.background='img/artists_nav.gif';" >
Daron
</td>
</tr>
<tr>
<td onmouseover="this.background='img/artists_nav_2.gif';" onmouseout="this.background='img/artists_nav.gif';">
Shavo
</td>
</tr>
<tr>
<td onmouseover="this.background='img/artists_nav_2.gif';" onmouseout="this.background='img/artists_nav.gif';">
John
</td>
</tr>
</table>
</div>
</td>
<td background="img/poetry_nav.gif" onmouseover="this.background='img/poetry_nav_2.gif';" onmouseout="this.background='img/poetry_nav.gif';">
<div id="pointer" onMouseOver="menue(poetry);" onMouseOut="menue(poetry);">Poetry</div>
<div id="poetry" onMouseOut="menue(poetry);">
<table border="0" cellspacing="0" cellpadding="0" background="img/poetry_nav.gif" onmouseover="this.background='img/poetry_nav_2.gif';" onmouseout="this.background='img/poetry_nav.gif';">
<tr>
<td onmouseover="this.background='img/poetry_nav_2.gif';" onmouseout="this.background='img/poetry_nav.gif';">
Poetry
</td>
</tr>
<tr>
<td onmouseover="this.background='img/poetry_nav_2.gif';" onmouseout="this.background='img/poetry_nav.gif';">
Translation
</td>
</tr>
<tr>
<td onmouseover="this.background='img/poetry_nav_2.gif';" onmouseout="this.background='img/poetry_nav.gif';">
Interpretation
</td>
</tr>
</table>
</div>
</td>
<td background="img/topics_nav.gif" onmouseover="this.background='img/topics_nav_2.gif';" onmouseout="this.background='img/topics_nav.gif';">
<div id="pointer" onMouseOver="menue(topics);" onMouseOut="menue(topics);">Hot Topics</div>
<div id="topics" onMouseOut="menue(topics);">
<table border="0" cellspacing="0" cellpadding="0" background="img/topics_nav.gif">
<tr>
<td onmouseover="this.background='img/topics_nav_2.gif';" onmouseout="this.background='img/topics_nav.gif';">
Religion
</td>
</tr>
<tr>
<td onmouseover="this.background='img/topics_nav_2.gif';" onmouseout="this.background='img/topics_nav.gif';">
War
</td>
</tr>
<tr>
<td onmouseover="this.background='img/topics_nav_2.gif';" onmouseout="this.background='img/topics_nav.gif';">
America
</td>
</tr>
<tr>
<td onmouseover="this.background='img/topics_nav_2.gif';" onmouseout="this.background='img/topics_nav.gif';">
Marijuana
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</center>
</body>
</html>
Hoffe, ihr könnt mir helfen!