Login  Regeln Aktuelles Datum und Uhrzeit: 24.07.2008, 06:58  
Startseite
Registrieren
Profil
Suchen
Mitgliederliste
Verzeichnis
Impressum



Partner
kostenlose Homepage
Fussball
Kostenloses Forum
SMS kostenlos
Webhosting
Webmasterportal
Kostenlos
Kredit ohne Schufa
Esoterik-Forum
Selbsthilfeforum
Artikel Backlink
Datenrettung
Problem mit Menü

 
Neues Thema eröffnen   Neue Antwort erstellen    Webmaster Forum -> Sitecheck
Vorheriges Thema anzeigen Nächstes Thema anzeigen 
Autor Nachricht
bonifaz
Neuer [User]
Neuer



Anmeldung: 14.12.07
Beiträge: 1

BeitragVerfasst am: 14.12.2007, 19:11    Titel: Problem mit Menü Antworten mit Zitat

hallo erst mal! ich bin neu hier und hab ein Problem mit einem menü:
und zwar hab ich ein dropdownmenü das im mozilla geht aber im i-net explorer nur beim ersten link geht?! kann mir vl jemand sagen was bei dem code falsch ist?? oda was ich anders machen soll?? lg

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript">
<!--
startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes;
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
}
node.onmouseout=function() {
this.className=this.className.replace(" over", "");
}
}
}
}
}
window.onload=startList;
//-->
</script>
<style type="text/css">
<!--
body
{
font: normal 11px Arial, Helvetica;
}

ul {
margin: 0;
padding: 0;
list-style: none;
width: 160px; /* Width of Menu Items */
border-bottom: 1px solid #D5EDB3;
}


ul li {
position: relative;
}

li ul {
position: absolute;
left: 159px; /* Set 1px less than menu width */
top: 0;
display: none;
}

/* Styles for Menu Items */
ul li a, a:hover {
display: block;
text-decoration: none;
border: 1px solid #ccc; /* IE6 Bug */
border-bottom: 0;
padding: 5px;
}

ul li a {
color: #D5EDB3;
font-weight: bold;
background: #5C743D; /* IE6 Bug */
}

ul li a:hover {
color: #5C743D;
background: #D5EDB3; /* IE6 Bug */
}

/* Holly Hack. IE Requirement \*/
* html ul li { float: left; height: 1%; }
* html ul li a { height: 1%; }
/* End */

li:hover ul, li.over ul {
display: block;
}
-->

</style>
</head>

<body>
<ul id="nav">
<li>Info
<ul>
<li>Über Uns</li>
<li>Referenzen</li>

</ul>
</li>
</ul>
</body>

<br>

<body>
<ul id="nav">
<li>Leistungen
<ul>
<li>Gaumenfreuden</li>
<li>Getränke</li>
<li>Equipment</li>
<li>Service</li>
<li>Menükarten</li>
<li>Rahenprogramm</li>
</ul>
</li>
</ul>
</body>

<br>

<body>
<ul id="nav">
<li>Speisen
<ul>
<li>Einzelgerichte</li>
<li>Menüs</li>
<li>Canapés Superbes</li>
<li>Flying Food</li>
<li>Fingerfood</li>
<li>Events</li>
</ul>
</li>
</ul>

<br>

<body>
<ul id="nav">
<li>Unternehmensphilosophie
<ul>
<li>Supervising</li>
<li>Product Message</li>
<li>Image Message</li>

</ul>
</li>
</ul>

<br>


<body>
<ul id="nav">
<li>Bestellformular

</ul>
</html>


Nach oben
Private Nachricht senden
Beiträge der letzten Zeit anzeigen:   
Neues Thema eröffnen   Neue Antwort erstellen Alle Zeiten sind GMT + 1 Stunde
Seite 1 von 1

Gehe zu:  

Ähnliche Beiträge
Thema Autor Forum Antworten Verfasst am
Keine neuen Beiträge Problem mit Registrierungs Script @nd| Serverseitige Websprachen 3 21.07.2008, 21:24 Letzten Beitrag anzeigen
Keine neuen Beiträge firefox macht mich fertig. Margin pro... blitzi HTML & CSS 2 11.07.2008, 16:39 Letzten Beitrag anzeigen
Keine neuen Beiträge Script Problem !!!!!!!!! crazystep Einsteigerforum 6 06.07.2008, 17:05 Letzten Beitrag anzeigen
Keine neuen Beiträge Hintergrund Problem mit HTML The Laepper HTML & CSS 10 10.06.2008, 21:42 Letzten Beitrag anzeigen
Keine neuen Beiträge Menü spinnt rum... fleckenfurz90 HTML & CSS 1 14.05.2008, 14:19 Letzten Beitrag anzeigen
Threadübersicht