Tab Menu
Just insert the below code into the BODY section of your page where you wish the menu to appear: |
<!--Links used to initiate the sub menus. Pass in the desired submenu index numbers (ie: 0, 1) --> <!-- Edit the dimensions of the below, plus background color--> <script language="JavaScript1.2"> /* var submenu=new Array() //Set submenu contents. Expand as needed. For each content, make sure everything exists on ONE LINE. Otherwise, there will be JS errors. submenu[1]='<font size="2" face="Verdana"><b><a href="http://freewarejava.com/applets/index.shtml">Applets</a> | <a href="http://freewarejava.com/tutorials/index.shtml">Tutorials</a> | <a href="http://freewarejava.com/javasites/index.shtml">Sites and Zines</a> | <a href="http://freewarejava.com/jsp/index.shtml">JSP</a></b></font>' //Set delay before submenu disappears after mouse moves out of it (in milliseconds) /////No need to edit beyond here var menuobj=document.getElementById? document.getElementById("describe") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : "" function showit(which){ function resetit(e){ function clear_delayhide(){ function contains_ns6(a, b) { </script> |
Configuring the menu Configuring the menu is essentially a 3 step process. Firstly, modify the main links to your own. Then, specify the dimensions (width/height) of the container holding the sublinks. Finally, input the sub links themselves inside the script. |
Comments