[Beschreibung]
Eine DHTML Navigation, die ganz ohne Grafiken auskommt und optisch trotzdem was hergibt.
Funktioniert nur mit IE!
[Kompatibilität]
[Code]
<script language="JavaScript1.2"> <!-- Begin offMessage = "Add this menu to your site!" function boxOn(which,message) { if (document.all||document.getElementById) { which.className = 'BorderOn'; if (document.getElementById) { document.getElementById("Message").innerHTML = message } else { Message.innerHTML = message; } } } function boxOff(which) { if (document.all||document.getElementById) { which.className = 'BorderOff'; if (document.getElementById) { document.getElementById("Message").innerHTML = offMessage } else { Message.innerHTML = offMessage; } } } // End --> </script>
<!-- Outer Container Table //--> <table cellpadding="0" cellspacing="0" width="100"> <tr> <td align="center"> <!-- Header Table // --> <table cellpadding="3" cellspacing="0" bgcolor="#000000" class="BorderOff"> <tr> <td> <font color="#FEDCBA" size="2" face="Arial">Heading</font> </td> </tr> </table> <!-- End Header Table //--> <!-- Menu Items Tables - Kopieren Sie einzelne Abschnitte, um das Menu zu erweitern - Tragen Sie jeweils class= in jedes <a href> ein, um die Styles Farben zu übernehmen //--> <!-- Menu Item One Table //--> <table cellpadding="3" cellspacing="0" class="BorderOff" onMouseover="boxOn(this,'Besuchen Sie Nightfire')" onMouseout="boxOff(this)"> <tr> <td> <font color="#00FF80" size="2" face="Arial"><a class="mBlue" href="http://www.nightfire.ch/java" target="new">Item One</a></font> </td> </tr> </table> <!-- Menu Item Two Table //--> <table cellpadding="3" cellspacing="0" class="BorderOff" onMouseover="boxOn(this,'Description 2')" onMouseout="boxOff(this)"> <tr> <td> <font color="#00FF80" size="2" face="Arial"><a class="mBlue" href="dummy.htm" target="new">Item Two</a></font> </td> </tr> </table> <!-- Menu Item Three Table //--> <table cellpadding="3" cellspacing="0" class="BorderOff" onMouseover="boxOn(this,'Description 3')" onMouseout="boxOff(this)"> <tr> <td> <font color="#00FF80" size="2" face="Arial"><a class="mGreen" href="dummy.htm" target="new">Item Three</a></font> </td> </tr> </table> <!-- Menu Item Four Table //--> <table cellpadding="3" cellspacing="0" class="BorderOff" onMouseover="boxOn(this,'Description 4')" onMouseout="boxOff(this)"> <tr> <td> <font color="#00FF80" size="2" face="Arial"><a class="mYellow" href="dummy.htm" target="new">Item Four</a></font> </td> </tr> </table> <!-- End Menu Items Tables //--> <!-- Message Table //--> <!-- Set the width= of this table the same as the overall width in the <style> //--> <table cellpadding="1" cellspacing="0" bgcolor="#444444" width="90"> <tr> <td> <!-- Set the width= of this table to the overall width in the style table minus 2x the border width; set the height= long (large) enough to accommodate your longest message //--> <table cellpadding="3" cellspacing="0" bgcolor="#000000" width="88" height="100"> <tr> <td align="left" valign="top"> <font id="Message" color="#CBA987" size="2" face="Arial">Move your mouse over the menu items.</font> </td> </tr> </table> </td> </tr> </table> <!-- End Message Table //--> </td> </tr> </table> <!-- End Outer Container Table //--> <!-- END OF MENU //-->
CodeLifter.com
kopieren Sie bitte den Quellcode