_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150 // The time delay before menus open on mouse over
_subOffsetTop=2 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset
_scrollAmount=3 // Only needed for Netscape 4.x
_scrollDelay=20 // Only needed for Netcsape 4.x
_followSpeed=5
_followRate=50
with(menuStyle=new mm_style()){
onbgcolor="#7AA2F1";
oncolor="#FFFFFF";
offbgcolor="#EDF1F8";
offcolor="#515151";
bordercolor="#C4C4C4";
borderstyle="solid";
borderwidth=1;
separatorcolor="#C4C4C4";
separatorsize="1";
separatoralign="center";
separatorwidth="66%";
padding=5;
fontsize="100%";
fontstyle="normal";
fontfamily="Verdana, Helvetica, sans-serif";
subimage="/tutorials/menu/arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.0);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
onborder="1px solid #316AC5";
screenposition="center";
}
Try placing the javascript code right after the <body> tag or in the <head> portion of your opening page as indicated in the "install.txt" file, as shown below:
3. Inform your web pages that you want the menu to appear when they are loaded.
To do this, you need to add the following JavaScript tags to your HTML page:
The position of the above is not particularly important, but it's advisable to
place these tags just after the <BODY> tag or in the <HEAD> of your document. This help minimize the risk of a conflict with other objects. The order in which
the tags appear IS important, and must be as shown above.
You have screenposition="center"; in your menuStyle definition, but screenposition is a menu property, not a style property. That line should go in the menu definition. E.g.,
You have screenposition="center"; in your menuStyle definition, but screenposition is a menu property, not a style property. That line should go in the menu definition. E.g.,