und zwar folgenden Frage beim Cooldown ist ja normal ein Überpunkt z.B
Autos oder iwas und Unterpunkte
Audi
BMW z.B
frage : ich will die unterpunkte weglassen (hab 4 cooldown leisten, und bei einer hab ich halt keine unterpunkte bzw. will keine haben) und wie kann man da dann den überpunkt z.B Autos verlinken mit einer Seite???
<style type="text/css" media="screen">
<!--
/* Allgemeine Einstellungen (Schriftart, Schriftgröße...) */
body {
font-family: Verdana, sans-serif;
font-size: 16px;
overflow: auto;
margin: 0px; }
/* keine Auflistungspunkte vor Navi-Links */
ul, li {
list-style-type: none;
padding: 0px;
margin: 0px; }
/* Abstand zwischen Schrift zum Rand */
li a {
padding-right: 20px;
padding-top: 5px; }
/* Coolmenü positionieren, Werte bei "top" , "left" und "width" anpassen */
div.menu {
position: absolute;
z-index: 3;
top: 170px;
left: 205px;
width:1024px; }
/* Breite der Menüpunkte einstellen */
.menu li {
width: 160px;
float: left; }
/* Aussehen der Menüpunkte einstellen */
.menu a {
border: 0px solid #000000;
background-color: #fbfaf6;
background-image: url(http://img.webme.com/pic/c/cvjm-lehrberg/cooldown.jpg);
text-decoration: none;
text-align: center;
font-weight: bold;
cursor: pointer;
margin: 0px;
display: block;
height: 17px;
color: #000000; }
/* Aussehen der Menüpunkte beim Hover Effekt */
.menu a:hover {
background-color: #fbfaf6;
background-image: url(http://img.webme.com/pic/c/cvjm-lehrberg/cooldown.jpg);
color: #000000; }
#smenu1, #smenu2, #smenu3, #smenu4, #smenu5 {
font-size: 14px;
display: none;
width: 160px;
float: left; }
#smenu1 a, #smenu2 a, #smenu3 a, #smenu4 a, #semu5 a {
font-weight: bold;
padding-top: 5px;
border-top: 0px;
cursor: pointer;
color: #000000; }
//-->
</style>
<!-- Anfang des Scriptes -->
<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>
<!-- Ende des Scriptes -->
<div class="menu">
<li><a href="javascript:void(0);" onmouseover="montre('smenu1');" onmouseout="cache('smenu1');">Home</a>
<ul id="smenu1" onmouseover="montre('smenu1');" onmouseout="cache('smenu1');"><li><a href="http://cvjm-lehrberg.de.tl/home.htm">Home</a></li>
</ul>
</li>
das ist der code und bei home will ich keine unterpunkte sondern das Home als Überpunkt direkt anklickbar und verlinkt ist mit meiner "versteckten Home Seite in der Navigation".
würde mich über baldige Antwort freuen
