Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:45

Flicker when hiding Flash on IE 6 & 7


Poster: imattjc
Dated: Tuesday December 26 2006 - 17:01:00 GMT

I have a site and need to hide a Flash div when I show the sub menus becuase on Safari the Flash 'messes' up the menus. The hiding/showing works well on Safari, FF (Mac/Win), but on IE (6 & 7) there is significant flicker as we scroll horizontally across the menu.

The top level of the menu is all images and actually has two sides. There are a total of 4 menu files I have listed below...

Any help would be greatly appreaciated.

This can be seen at http://ip.integreat-dev.com

Left hand menu (top):
Code:
with(milonic=new menuname("MainMenu")){
alwaysvisible=1;
left=0;
orientation="horizontal";
style=menuStyle;
top=76;
aI("offfunction=on();onfunction=off();image=/img/sep2.gif;overimage=/img/sep.gif;padding=0;itemwidth=3;imagealign=center;type=header;");
aI("offfunction=on();onfunction=off();image=/img/learn.gif;overimage=/img/learn_hi.gif;showmenu=Learn;url=/know/;pageimage=/img/learn_hi.gif;pagematch=/know/");
aI("offfunction=on();onfunction=off();image=/img/understand.gif;overimage=/img/understand_hi.gif;showmenu=Understand;url=/understand/;pageimage=/img/understand_hi.gif;pagematch=/understand/");
aI("offfunction=on();onfunction=off();image=/img/fix.gif;overimage=/img/fix_hi.gif;showmenu=Fix;url=/fix/;pageimage=/img/fix_hi.gif;pagematch=/fix/");
aI("offfunction=on();onfunction=off();image=/img/sep2.gif;overimage=/img/sep.gif;padding=0;itemwidth=3;imagealign=center;type=header;");
}
drawMenus();


Right hand menu (top):
Code:
with(milonic=new menuname("MainMenu2")){
alwaysvisible=1;
left=406;
menuwidth="349";
orientation="horizontal";
style=menuStyle4;
top=76;
aI("offfunction=on();onfunction=off();image=/img/sep3.gif;overimage=/img/sep3.gif;padding=20;itemwidth=90;imagealign=center;type=header;");
aI("offfunction=on();onfunction=off();image=/img/about2.gif;overimage=/img/about2_hi.gif;showmenu=About;url=/about/;pagematch=/about/;pageimage=/img/about2_hi.gif;");
aI("offfunction=on();onfunction=off();image=/img/sep.gif;overimage=/img/sep.gif;padding=20;itemwidth=20;imagealign=center;type=header;");
aI("offfunction=on();onfunction=off();image=/img/donate2.gif;overimage=/img/donate2_hi.gif;showmenu=Donate;url=/donate/;pageimage=/img/donate2_hi.gif;pagematch=/donate/");
aI("offfunction=on();onfunction=off();image=/img/sep.gif;overimage=/img/sep.gif;padding=20;itemwidth=20;imagealign=center;type=header;");
aI("offfunction=on();onfunction=off();image=/img/news2.gif;overimage=/img/news2_hi.gif;showmenu=News;url=/news/;pageimage=/img/news2_hi.gif;pagematch=/news/");
}

drawMenus();


Left hand Sub Menus:
Code:
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=20;
_subOffsetLeft=-10;

with(menuStyle=new mm_style()){
bordercolor="#993300";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Verdana, Tahoma";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#993300";
headercolor="#993300";
offbgcolor="#993300";
offcolor="#993300";
onbgcolor="#993300";
oncolor="#993300";
padding=5;
pagebgcolor="#993300";
pagecolor="#666666";
separatorcolor="#993300";
separatorsize=10;
}

with(menuStyle2=new mm_style()){
bordercolor="#993300";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Verdana, Tahoma";
fontsize="85%";
fontstyle="normal";
headerbgcolor="#993300";
headercolor="#000000";
offbgcolor="#993300";
offcolor="#FFFFFF";
onbgcolor="#993300";
oncolor="#666666";
rawcss="padding-left:10px;padding-right:10px";
padding=4;
pagebgcolor="#993300";
pagecolor="#666666";
separatorcolor="#993300";
separatorsize=1;
}

with(milonic=new menuname("Learn")){
style=menuStyle2;
left="offset=-3";
aI("offfunction=on();onfunction=off();text=BROWSE PROFILES;url=/know/Browse-Profiles.php;");
aI("offfunction=on();onfunction=off();text=SEARCH PROFILES;url=/know/Search-Profiles.php;");
aI("offfunction=on();onfunction=off();text=AFTER EXONERATION;url=/know/After-Exoneration.php;");
}

with(milonic=new menuname("Understand")){
style=menuStyle2;
left="offset=-3";
aI("offfunction=on();onfunction=off();text=EYEWITNESS MISIDENTIFICATION;url=/understand/Eyewitness-Misidentification.php;");
aI("offfunction=on();onfunction=off();text=UNRELIABLE/LIMITED SCIENCE;url=/understand/Unreliable-Limited-Science.php;");
aI("offfunction=on();onfunction=off();text=FORENSIC SCIENCE MISCONDUCT;url=/understand/Forensic-Science-Misconduct.php;");
aI("offfunction=on();onfunction=off();text=GOVERNMENT MISCONDUCT;url=/understand/Government-Misconduct.php;");
aI("offfunction=on();onfunction=off();text=FALSE CONFESSIONS;url=/understand/False-Confessions.php;");
aI("offfunction=on();onfunction=off();text=INFORMANTS/SNITCHES;url=/understand/Snitches-Informants.php;");
aI("offfunction=on();onfunction=off();text=BAD LAWYERING;url=/understand/Bad-Lawyering.php;");
}

with(milonic=new menuname("Fix")){
style=menuStyle2;
left="offset=-4";
aI("offfunction=on();onfunction=off();text=MODEL STATE LEGISLATION;url=/fix/Model-State-Legislation.php;");
aI("offfunction=on();onfunction=off();text=FEDERAL LEGISLATION;url=/fix/Federal-Legislation.php;");
aI("offfunction=on();onfunction=off();text=OTHER PROJECTS;url=/fix/Other-Projects.php;");
aI("offfunction=on();onfunction=off();text=RESOURCES;url=/fix/Resources.php;");
aI("offfunction=on();onfunction=off();text=RELATED ISSUES;url=/fix/Related-Issues.php;");
aI("offfunction=on();onfunction=off();text=WHAT CAN I DO?;url=/fix/What-can-I-do.php;");
}

drawMenus();


Right hand Sub Menus:
Code:
fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=100;
_menuOpenDelay=150;


with(menuStyle4=new mm_style()){
bordercolor="#CC9900";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Verdana, Tahoma";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#CC9900";
headercolor="#CC9900";
offbgcolor="#CC9900";
offcolor="#CC9900";
onbgcolor="#CC9900";
oncolor="#CC9900";
padding=5;
pagebgcolor="#CC9900";
pagecolor="#666666";
}

with(menuStyle3=new mm_style()){
bordercolor="#CC9900";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Verdana, Tahoma";
fontsize="85%";
fontstyle="normal";
headerbgcolor="#CC9900";
headercolor="#000000";
offbgcolor="#CC9900";
offcolor="#FFFFFF";
onbgcolor="#CC9900";
oncolor="#666666";
rawcss="padding-left:10px;padding-right:10px";
padding=4;
pagebgcolor="#CC9900";
pagecolor="#666666";
separatorcolor="#CC9900";
separatorsize=1;
}

with(milonic=new menuname("About")){
style=menuStyle3;
left="offset=-3";
aI("offfunction=on();onfunction=off();text=MISSION STATEMENT;url=/about/Mission-Statement.php;");
aI("offfunction=on();onfunction=off();text=FAQs;url=/about/FAQs.php;");
aI("offfunction=on();onfunction=off();text=BOARD OF DIRECTORS;url=/about/Board-of-Directors.php;");
aI("offfunction=on();onfunction=off();text=STAFF DIRECTORY;url=/about/Staff-Directory.php;");
aI("offfunction=on();onfunction=off();text=OPPORTUNITIES;url=/about/Opportunities.php;");
aI("offfunction=on();onfunction=off();text=CONTACT US;url=/about/Contact-Us.php;");
}

with(milonic=new menuname("Donate")){
style=menuStyle3;
left="offset=-3";
aI("offfunction=on();onfunction=off();text=CAPITAL CAMPAIGN;url=/donate/Capital-Campaign.php;");
aI("offfunction=on();onfunction=off();text=DONATE;url=#;");
}

with(milonic=new menuname("News")){
style=menuStyle3;
left="offset=-3";
aI("offfunction=on();onfunction=off();text=IP BLOG;url=/news/Blog.php;");
aI("offfunction=on();onfunction=off();text=PRESS RELEASES;url=/news/Press-Releases.php;");
aI("offfunction=on();onfunction=off();text=OTHER LEGAL INFORMATION;url=/news/Other-Legal-Information.php;");
aI("offfunction=on();onfunction=off();text=FACT SHEETS;url=/news/Fact-Sheets.php;");
aI("offfunction=on();onfunction=off();text=NATIONAL VIEW;url=/news/National-View.php;");
}

drawMenus();