Sub Menu Flickers in FireFox and IE

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
shingy
Beginner
Beginner
Posts: 4
Joined: Wed Jul 19, 2006 12:29 am

Sub Menu Flickers in FireFox and IE

Post by shingy »

Hi,

I did the fixes (well I think I got it sorted) for Flash, but everytime I rollover a menu that has submenus the menu "flickers". I cannot for the life of me figure it out. Anyone have any ideas PLEASE?

THANKS in advance

Here is the test page...

http://www.shingy.com/active5/int7.htm

here is my sub_data.js
fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
if(ie55){
_miO=_d.getElementsByTagName("object");
for(var x=0;x<_miO.length;x++)_miO[x].outerHTML=_miO[x].outerHTML;
}
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;

with(menuStyle=new mm_style()){
bgimage="images/nav_bg.gif"
bordercolor="#CC0000";
borderstyle="";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="11px";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#ffffff";
offbgcolor="#CC0000";
offcolor="#ffffff";
onbgcolor="#990000";
oncolor="#FFCC00";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90)";
padding=5;
pagebgcolor="#990000";
pagecolor="black";
separatorcolor="#";
separatorsize=0;
subimage="arrow.gif";
subimagepadding=2;
}

mainStyle=new copyOf(menuStyle);
mainStyle.rawcss="margin:0 0 0 10";

with(milonic=new menuname("Publications")){
style=menuStyle;
aI("text=Active First Aid;url=http://www.;")
aI("text=First Aid Quick Guide;url=http://www.;")
aI("text=Australian Editions;url=http://www.;")
}

with(milonic=new menuname("Downloads")){
style=menuStyle;
aI("text=Basic Life Support Chart;url=http://www.;");
aI("text=CPR Summary Chart;url=http://www.;");
aI("text=Injury Form;url=http://www.;");
aI("text=Poisons Summary;url=http://www.;");
}

drawMenus();
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

I'm not seeing that problem, but I'm downlevel on browsers. Which versions of the browsers so someone with those can check.

Also, just as a 'guess' you have separatorcolor="#"; and separatorsize=0. I suggest you just blank them using the // in front of them, or just the "" like you have in the borderstyle=""; That hash mark may be causing a problem.

The only other thing I can think is maybe the flash, though I don't really think that's the problem.

I really like that deep reddish color!

Ruth
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

I'm not seeing the problem, either. XP Pro/FF1.5.0.4.
John
shingy
Beginner
Beginner
Posts: 4
Joined: Wed Jul 19, 2006 12:29 am

THANKS for the comments

Post by shingy »

Crazy! I am not seeing it now either. I am on a XP box with FF1.5.0.4 and IE 6.0.29....

So I am going to have to call it gremlins! That is why I am a designer and not a programmer.

THANKS guys
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Any time. Ghost Busters at your service... :roll:
John
Post Reply