http://ip.integreat-dev.com
1) I am using an off function, because the menu will overlap a flash movie (not yet in place), and there is weird interaction with Safari, Flash, and the menu, so when you rollover the menu, the movie is hidden and replaced with a static image. Roll off, and the movie is restored.
2) I have 2 menus in place because we want the color effect and stretching as it appears.
3) ANY advice is greatly appreciated. I am very new to this and want to make sure this works....
Code: Select all
fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=100;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
with(menuStyle=new mm_style()){
bordercolor="#993300";
borderstyle="solid";
borderwidth=4;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#993300";
headercolor="#000000";
offbgcolor="#993300";
offcolor="#FFFFFF";
onbgcolor="#993300";
oncolor="#666666";
padding=4;
pagebgcolor="#993300";
pagecolor="#993300";
separatorcolor="#993300";
separatorsize=12;
}
with(menuStyle2=new mm_style()){
bordercolor="#993300";
borderstyle="solid";
borderwidth=4;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle="normal";
headerbgcolor="#993300";
headercolor="#000000";
offbgcolor="#993300";
offcolor="#FFFFFF";
onbgcolor="#993300";
oncolor="#666666";
padding=4;
pagebgcolor="#993300";
pagecolor="#993300";
separatorcolor="#993300";
separatorsize=12;
}
with(milonic=new menuname("MainMenu")){
alwaysvisible=1;
left=0;
orientation="horizontal";
style=menuStyle;
top=75;
aI("offfunction=on();text=Home;url=http://milonic.com/;");
aI("offfunction=on();image=img/learn.gif;overimage=img/learn_hi.gif;showmenu=Learn;url=/know/");
aI("offfunction=on();image=img/understand.gif;overimage=img/understand_hi.gif;showmenu=Understand;url=/understand/");
aI("offfunction=on();image=img/fix.gif;overimage=img/fix_hi.gif;showmenu=Fix;url=/fix/;");
}
with(milonic=new menuname("Learn")){
style=menuStyle2;
aI("offfunction=on();text=Browse Profiles;url=/know/Browse-Profiles.php;");
aI("offfunction=on();text=Search Profiles;url=/know/Search-Profiles.php;");
aI("offfunction=on();text=After Exoneration;url=/know/After-Exoneration.php;");
aI("offfunction=on();text=E-mail an Exoneree;url=/know/E-mail-an-Exoneree.php;");
}
with(milonic=new menuname("Understand")){
style=menuStyle2;
aI("offfunction=on();text=Eyewitness Misidentification;url=/understand/Eyewitness-Misidentification.php;");
aI("offfunction=on();text=Unreliable/Limited Science;url=/understand/Unreliable-Limited-Science.php;");
aI("offfunction=on();text=Forensic Science Fraud/Misconduct;url=/understand/Forensic-Science-Fraud-Misconduct.php;");
aI("offfunction=on();text=Government Misconduct;url=/understand/Government-Misconduct.php;");
aI("offfunction=on();text=False Confessions;url=/understand/False-Confessions.php;");
aI("offfunction=on();text=Snitches/Informants;url=/understand/Snitches-Informants.php;");
aI("offfunction=on();text=Bad Lawyering;url=/understand/Bad-Lawyering.php;");
}
with(milonic=new menuname("Fix")){
style=menuStyle2;
aI("offfunction=on();text=GoveModel State Legislationrnment;url=/fix/Model-State-Legislation.php;");
aI("offfunction=on();text=Federal Legislation;url=/fix/Federal-Legislation.php;");
aI("offfunction=on();text=Other Projects;url=/fix/Other-Projects.php;");
aI("offfunction=on();text=Resources;url=/fix/Resources.php;");
aI("offfunction=on();text=Related Issues;url=/fix/Related-Issues.php;");
aI("offfunction=on();text=What can I do?;url=/fix/What-can-I-do.php;");
}
drawMenus();