I have an issue displaying disabled menu items in firefox. The disabled menu items do not gray out like they do in IE. The menu items function correctly in that they are disabled and can be controlled via js, but the display remains the same in firefox.
I'm using (Version 5.742 - Built: Wednesday January 25 2006 - 9:17)
Any help would be greatly appreciated..
attached is my menu-data.js
Thanks,
Chris.
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=10;
_subOffsetLeft=-10;
with(submenuStyle=new mm_style()){
fontfamily="Verdana, Tahoma, Arial";
fontsize="11px";
fontstyle="normal";
fontweight="normal";
itemwidth=185;
offcolor="#215DC6";
oncolor="#428EFF";
ondecoration="underline";
padding=6;
separatorcolor="#969698";
subimagepadding=8;
}
with(menuStyle=new mm_style()){
styleid=1;
bordercolor="#296488";
borderstyle="solid";
borderwidth=0;
onborder="1px dashed #000000";
fontfamily="Verdana, Tahoma, Arial";
fontsize="11px";
fontstyle="normal";
fontweight="normal";
imagepadding=4;
itemwidth="100%";
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#C1D2EE";
onborder="1px solid #316AC5";
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#999999, Direction=135, Strength=3)";
ondecoration="underline";
padding=5;
subimage="img/arrow.gif";
subimagepadding=10;
}
with(milonic=new menuname("LeftMainMenu")){
alwaysvisible=1;
left=0;
orientation="vertical";
style=menuStyle;
top=0;
aI("bgimage=img/xp_panel_topoff2.gif;fontsize=11px;fontweight=bold;image=img/transparent.gif;imagewidth=22;itemheight=30;offcolor=#ffffff;rawcss=padding-top:7px;status=Back To Home Page;text=Main Menu;");
aI("image=img/transparent.gif;offbgcolor=#EFF3FF;type=header;text=;imageheight=1;");
aI("image=img/note1.gif;text=View File;url=javascript:menuGetClientFile();type=disabled;offbgcolor=#EFF3FF;");
aI("image=img/blank.gif;offbgcolor=#EFF3FF;text=;disabled=true;");
aI("image=img/new16x16.gif;offbgcolor=#EFF3FF;url=javascript:menuAddStep();type=disabled;text=Add Step;");
aI("image=img/undo16x16.gif;offbgcolor=#EFF3FF;url=javascript:menuResetLastStep();type=disabled;text=Reset Last Step;");
aI("image=img/blank.gif;offbgcolor=#EFF3FF;text=;disabled=true;");
aI("image=img/new16x16.gif;offbgcolor=#EFF3FF;url=javascript:menuAddTaskNote();type=disabled;text=Add Task Note;");
aI("image=img/editNote16x16.gif;offbgcolor=#EFF3FF;url=javascript:menuEditTaskNote();type=disabled;text=Edit Task Note;");
aI("image=img/trash16x16.png;offbgcolor=#EFF3FF;url=javascript:menuDeleteTaskNote();type=disabled;text=Delete Task Note;");
aI("image=img/blank.gif;offbgcolor=#EFF3FF;text=;disabled=true;");
aI("image=img/delete3.gif;offbgcolor=#EFF3FF;url=javascript:menuClose();text=Close;");
}
drawMenus();