Hallo ich habe vorhin im PC meinen alten Coolmenu code von meiner alten seite gefunden.Da ich die Seite gelöscht habe ist der Code weg! Das einzige was ich habe ist das hier:
Ich habe die links rausgenommen. Könnt ihr mir Helfen es wieder "zusammenzubasteln und funktionsfähig" zumachen?
<style type="text/css">
<!--
ul#nav li#nav_Heom{
visibility:collapse
}
ul#nav li#nav_Kontakt{
visibility:collapse
}
/*usw.*/
-->
</style>
<html>
<head>
<body background="">
<style type="text/css" media="screen">
<!--
body
{
font-family: Verdana, sans-serif;
font-size: 14px;
overflow: auto;
padding: 10px;
margin: 0px;
}
ul, li
{
list-style-type: none;
padding: 0px;
margin: 0px;
}
li a
{
padding-right: 20px;padding-top: 5px;
}
div.menu
{
position: absolute;
z-index: 3;
top: 250px;
left: 50%;
margin-left:-460px;
width:915px;
}
.menu li
{
width: 160px;
float: left;
}
.menu a
{
border: 0px solid transparent;
background-color: transparent;
background-image: url(Button 1);
text-decoration: none;
text-align: center;
font-weight: bold;
cursor: pointer;
margin: 0px;
display: block;
height: 23px;
color: #007F0E;
}
.menu a:hover
{
background-color: transparent;
background-image: url(Button2);
}
#smenu1, #smenu2, #smenu3, #smenu4, #smenu5
{
font-size: 14px;
display: none;
width: 160px;
float: left;
}
#smenu1 a, #smenu2 a, #smenu3 a, #smenu4 a, #smenu5 a
{
font-weight: bold;
padding-top: 5px;
border-top: 0px;
cursor: pointer;
color: #007F0E;
}
//-->
</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';
}
}
Hier war eine URL
//-->
</script>
<div class="menu">
<li><a href="/Home.htm">Home</a> </li>
<li><a onmouseout="cache('smenu2');" onmouseover="montre('smenu2');" href="javascript:void(0);">Kategorie 1</a>
<ul onmouseout="cache('smenu2');" onmouseover="montre('smenu2');" id="smenu2">
<li><a href="/Nichts.htm">1Seite</a></li>
<li><a href="/Nichts.htm">2Seite</a></li>
<li><a href="/Nichts.htm">3Seite</a></li>
<li><a href="/Nichts.htm">4Seite</a></li>
<li><a href="/Nichts.htm">5Seite</a></li>
<li><a href="/Nichts.htm">6Seite</a></li>
</ul>
</li>
<li><a onmouseout="cache('smenu3');" onmouseover="montre('smenu3');" href="javascript:void(0);">Fun</a>
<ul onmouseout="cache('smenu3');" onmouseover="montre('smenu3');" id="smenu3">
)</a></li>
<li> </li>
</ul>
</li>
<li><a onmouseout="cache('smenu5');" onmouseover="montre('smenu5');" href="javascript:void(0);">Sonstiges</a>
<ul onmouseout="cache('smenu5');" onmouseover="montre('smenu5');" id="smenu5">
<li><a href="Gästebuchlink</a></li>
</ul>
</li>
</div>
<div align="center">
<table border="0" width="70%">
<tr>
<td>
<div align="center">
<table border="0" width="70%">
<tr>
<td>
</style>
</style>
Ich weiß es wird schwer! bitte HELFT mir.
Danke
LG
06maristen