|
|
Using Layers. The Netscape MenuThis page describes an easy to use scheme for netscape's menu.In the HEAD area of your document.
<SCRIPT>
function StartPage() {
if((top.frames.length==0)&&(navigator.userAgent.indexOf('Win16') == -1))
{setTimeout("document.layers['menu'].show_menus();",3500)};
}
</SCRIPT>
Your BODY tag should include:
<BODY onLoad="document.layers['menu'].init_menu();
setTimeout('javascript:StartPage();',200);return false;">
Somewhere inside the BODY area:
<LAYER NAME="menu" SRC=menu.html HEIGHT=450 WIDTH=50
left=0 TOP=0 Z-INDEX=100 VISIBILITY="show">
</LAYER>
Copy the and modify the file menu.html in the current directory. Copy all the images from the images directory to a subdirectory called images! Checklist:Say the HTML document that you wanted to have the menu in was called test.html then you would need the following files
Notes
Alternativelyyou can grab the menu.zip file or menu.tar.gz and unpack and make the modifications.Please don't email me about layers, I don't really understand them, I just got this one to work :-)
The information on these pages are provided on an "AS IS" basis, and may be used freely at your own risk. Addition usage information found on each particular page. olabs@olabs.com |