just after the <body> tag place the code
Code: Select all
<BODY bgColor="#cccccc">
<SCRIPT language=JavaScript src="milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" language="JavaScript" src="menu_data2.js" ></SCRIPT>
The menu_data2.js file should contain everything, but not the main menu:
Code: Select all
fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=0;
_subOffsetLeft=0;
with(menuStyle2=new mm_style()){
bordercolor="#ffffff";
borderstyle="solid";
borderwidth=1;
fontfamily="Trebuchet MS";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#ffffff";
offbgcolor="#339933";
offcolor="#ffffff";
onbgcolor="#339933";
oncolor="#eeeeee";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135,Strength=3)";
padding=4;
pagebgcolor="#339933";
pagecolor="white";
separatorcolor="#ffffff";
//separatorsize=1;
//separatorpadding=1;
subimage="arrow.gif";
subimagepadding=2;
}
with(milonic=new menuname("Storagesub")){
style=menuStyle2;
aI("text=Allgemein;url=storage.htm;target=_self");
aI("text=Backup & Recovery;url=backup.htm;target=_self");
aI("text=HSM;url=hsm.htm;target=_self;");
aI("text=HSM Customizing Tools;url=hsmcustom.htm;target=_self;");
aI("text=NAS Head;url=nashead.htm;target=_self;");
aI("text=Data & Resource Management;url=data.htm;target=_self;");
aI("text=Mail & File Archiving;url=mail.htm;target=_self;");
aI("text=Ausgewählte Hardware;url=hardware.htm;target=_self;");
}
drawMenus();
The main menu please place into "embedded_main_menu_2.js" data file:
Code: Select all
with(milonic=new menuname("Main Menu2")){
position="relative";
alwaysvisible=1;
orientation="vertical";
style=menuStyle2;
menualign="left";
itemheight=25;
aI("text=Storage & Data Management;showmenu=Storagesub");
aI("text=Security & Access;url=security.htm;target=_self;");
aI("text=Turn Key & Media Lösungen;url=turnkey.htm;target=_self;");
aI("text=Produktpartner;url=partners.htm;target=_self;");
}
drawMenus();
(Please note Important completion there was
position="relative"; )
There, where you had all the milonic files and the (old) menu_data2.js file before, just place
<script type="text/javascript" language="JavaScript" src="embedded_main_menu_2.js" ></SCRIPT>
and you will see, in FF (Mozilla) and in IE, the menus look very similar, both with the correct itemheight.
Michael