
After this, strange things happen when I try to mouse-over the last submenu. It's like I can highlight the menu for the first 10 left pixels or so and it seems to work OK.

If I go past this I can't select anymore and the menus will disappear in a second or two.

If I sort of flail the mouse around on top of the last menu I can get it to stick and work but the other levels disappear.

Code is below. I don't think I'm doing anything out of the ordinary. Any ideas? Thanks.
Code: Select all
<div style="position: relative;"><SCRIPT language=JavaScript src="../menu/milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=../menu/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=../menu/mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language=JavaScript src="menu_data_case.js" type=text/javascript></SCRIPT>
</div>
Code: Select all
var sPath = window.location.pathname;
//var sPage = sPath.substring(sPath.lastIndexOf('\\') + 1);
var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);
function findString(qq) {
var fArr = qq.split(",");
for (x=0; x<fArr.length; x++)
{
if(fArr[x]==sPage) {
return 'background-color:#43556B;color:#CAFF2E;';
}
}
}
_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150 // The time delay before menus open on mouse over
_followSpeed=5 // Follow scrolling speed
_followRate=50 // Follow scrolling Rate
_subOffsetTop=10 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset
_scrollAmount=3 // Only needed for Netscape 4.x
_scrollDelay=20 // Only needed for Netcsape 4.x
with(menuStyle=new mm_style()){
onbgcolor="#43556B";
oncolor="#CAFF2E";
offbgcolor="#577293";
offcolor="white";
/* WCR #233 */ bordercolor="#C3D1DF;border-right: ;border-left: #AEAEAE 1px solid";
borderstyle="solid";
borderwidth=1;
separatorcolor="#C3D1DF";
separatorsize="1";
padding=0;
fontsize="10px";
fontstyle="normal";
fontweight="bold";
fontfamily="Arial, Helvetica, sans-serif";
pagecolor="#CAFF2E";
pagebgcolor="#43556B";
headercolor="#000000";
headerbgcolor="#ffffff";
}
with(submenuStyle=new mm_style()){
onbgcolor="#43556B";
oncolor="#CAFF2E";
offbgcolor="#71869F";
offcolor="white";
bordercolor="#C3D1DF";
borderstyle="solid";
borderwidth=1;
separatorcolor="#C3D1DF";
separatorsize="1";
padding="0px";
fontsize="10px";
fontstyle="normal";
fontweight="bold";
fontfamily="Arial, Helvetica, sans-serif";
pagecolor="white";
pagecolor="#CAFF2E";
pagebgcolor="#43556B";
headerbgcolor="#ffffff";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=1)";
outfilter="Fade(duration=0.2)";
}
/*
subimage="arrow-w.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
*/
with(milonic=new menuname("Main Menu")){
style=menuStyle;
/* WCR #233 */ position="relative";
itemwidth=120;
top=0;
left=0;
alwaysvisible=1;
overflow="scroll";
aI("text=<div style=\"" + findString('') + ";padding:5px;\">Business Cases</div>;showmenu=BusMenu;url=#");
aI("text=<div style=\"" + findString('') + ";padding:5px;\">Case Studies</div>;url=#");
}
with(milonic=new menuname("BusMenu")){
style=submenuStyle;
itemwidth=120;
top=7;
left=105;
overflow="scroll";
aI("text=<div style=\"padding:5px;\">Wholesale</div>;showmenu=WholeMenu");
aI("text=<div style=\"padding:5px;\">Business Banking</div>;url=busbank.cfm");
aI("text=<div style=\"padding:5px;\">Capital Markets</div>;url=capmark.cfm");
aI("text=<div style=\"padding:5px;\">Retail</div>;url=retail.cfm");
}
with(milonic=new menuname("WholeMenu")){
style=submenuStyle;
itemwidth=120;
top=14;
left=210;
overflow="scroll";
aI("text=<div style=\"padding:5px;\">Commercial Real Estate</div>;showmenu=ComMenu");
}
with(milonic=new menuname("ComMenu")){
style=submenuStyle;
itemwidth=120;
top=21;
left=315;
overflow="scroll";
aI("text=<div style=\"padding:5px;\">Working Capital</div>;url=workingcap.cfm");
aI("text=<div style=\"padding:5px;\">REIT</div>;url=reit.cfm");
aI("text=<div style=\"padding:5px;\">Working Capital with ARM Loan</div>;url=workingcaparm.cfm");
aI("text=<div style=\"padding:5px;\">Shopping Center Construction</div>;url=scc.cfm");
aI("text=<div style=\"padding:5px;\">Single Family New Construction</div>;url=sfnc.cfm");
aI("text=<div style=\"padding:5px;\">Multi-family Housing Purchase with Escrow</div>;url=mfhpe.cfm");
}
drawMenus();