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:49

My Menu goes across the Screen in Firefox, HELP!


Poster: neilghuman
Dated: Saturday November 4 2006 - 1:33:42 GMT

Please visit http://www.slipperclutches.com and make sure you are using firefox browser. Scroll over the menu, and it goes across the screen. What am I doing wrong here?

My menu code looks like this:

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=2;
_subOffsetLeft=-2;




with(menuStyle=new mm_style()){
styleid=1;
align="right"
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#DCE9F0";
offcolor="#515151";
onbgcolor="#4F8EB6";
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=1;
subimage="/skin_default/templateimages/arrow.gif";
menuwidth="100%";
itemwidth="100%";
}

with(milonic=new menuname("Main Menu")){

alwaysvisible=1;
openstyle="rtl";
orientation="vertical";
style=menuStyle;
align="left"



margin=2;
overfilter="";
position="relative";
aI("showmenu=Accessories;text=Accessories;");
aI("showmenu=Apparel;text=Apparel;");
aI("showmenu=Exterior;text=Body;");
aI("showmenu=Braking;text=Braking;");
aI("showmenu=Cooling;text=Cooling;");
aI("showmenu=Electronics;text=Electronics;");
aI("showmenu=Engine;text=Engine;");
aI("showmenu=Exhaust;text=Exhaust;");
aI("showmenu=Headers;text=Headers;");
aI("showmenu=Intake;text=Intake;");
aI("showmenu=Lighting;text=Lighting;");
aI("showmenu=Nitrous;text=Nitrous;");
aI("showmenu=Oil;text=Oil;");
aI("showmenu=Suspension;text=Suspension;");
aI("showmenu=Transmission;text=Transmission;");
aI("showmenu=Turbo;text=Turbo;");
}



with(milonic=new menuname("Accessories")){
openstyle="rtl";
style=menuStyle;
aI("text=Engine Accessories;url=prodtype.asp?PT_ID=271&strPageHistory=cat;")
aI("text=Interior Accessories;url=prodtype.asp?PT_ID=385&strPageHistory=cat;")
aI("text=Racing Seats;url=prodtype.asp?PT_ID=2559&strPageHistory=cat;")
}

with(milonic=new menuname("Apparel")){
openstyle="rtl";
style=menuStyle;
aI("text=Greddy;url=prodtype.asp?PT_ID=2182&strPageHistory=cat;")
}

with(milonic=new menuname("Braking")){
openstyle="rtl";
style=menuStyle;
aI("text=Big Brake Kits;url=prodtype~PT_ID~3938~strPageHistory~cat.asp;")
aI("text=Brake Pads;url=prodtype~PT_ID~5634~strPageHistory~cat.asp;")
aI("text=Slotted Brake Rotors;url=prodtype~PT_ID~7469~strPageHistory~cat.asp;")
}

with(milonic=new menuname("Cooling")){
openstyle="rtl";
style=menuStyle;
aI("text=Air Diversion Panels;url=prodtype~PT_ID~5032~strPageHistory~cat.asp;")
aI("text=Breather Tanks;url=prodtype~PT_ID~5030~strPageHistory~cat.asp;")
aI("text=Oil Cooler Kits;url=prodtype~PT_ID~5034~strPageHistory~cat.asp;")
aI("text=Radiators;url=prodtype~PT_ID~372~strPageHistory~cat.asp;")
aI("text=Radiator Caps;url=prodtype~PT_ID~5031~strPageHistory~cat.asp;")
aI("text=Radiator Fans;url=prodtype~PT_ID~5028~strPageHistory~cat.asp;")
aI("text=Sport Hose Kits;url=prodtype~PT_ID~5029~strPageHistory~cat.asp;")
aI("text=Transmission Cooler Kits;url=prodtype~PT_ID~5033~strPageHistory~cat.asp;")
}

with(milonic=new menuname("Electronics")){
openstyle="rtl";
style=menuStyle;
aI("text=AEM Electronics;url=prodtype~PT_ID~5113~strPageHistory~cat.asp;")
aI("text=Air/Fuel Controllers;url=prodtype.asp?PT_ID=79&strPageHistory=cat;")
aI("text=Boost Controllers;url=prodtype.asp?PT_ID=81&strPageHistory=cat;")
aI("text=Computer Upgrades;url=prodtype.asp?PT_ID=226&strPageHistory=cat;")
aI("text=Gauges;url=prodtype.asp?PT_ID=89&strPageHistory=cat;")
aI("text=Ignition Systems;url=prodtype.asp?PT_ID=2177&strPageHistory=cat;")
aI("text=Turbo Timers;url=prodtype.asp?PT_ID=106&strPageHistory=cat;")
}


with(milonic=new menuname("Engine")){
openstyle="rtl";
style=menuStyle;
aI("text=Cam Gears;url=prodtype.asp?PT_ID=83&strPageHistory=cat;")
aI("text=Camshafts;url=prodtype.asp?PT_ID=84&strPageHistory=cat;")
aI("text=Engine Fasteners;url=prodtype.asp?PT_ID=2535&strPageHistory=cat;")
aI("text=Fuel System;url=prodtype.asp?PT_ID=88&strPageHistory=cat;")
aI("text=Spark Plugs;url=prodtype.asp?PT_ID=2555&strPageHistory=cat;")
aI("text=Throttle Body;url=prodtype.asp?PT_ID=2567&strPageHistory=cat;")
aI("text=Underdrive Pulleys';url=prodtype.asp?PT_ID=96&strPageHistory=cat;")
aI("text=ValveTrain;url=prodtype.asp?PT_ID=2551&strPageHistory=cat;")
}

with(milonic=new menuname("Exhaust")){
openstyle="rtl";
style=menuStyle;
aI("text=Apexi;url=prodtype~PT_ID~120~strPageHistory~cat.asp;")
aI("text=DC Sports;url=prodtype~PT_ID~5407~strPageHistory~cat.asp;")
aI("text=Greddy;url=prodtype.asp?PT_ID=123&strPageHistory=cat;")
aI("text=HKS;url=prodtype.asp?PT_ID=163&strPageHistory=cat;")
aI("text=Injen;url=prodtype.asp?PT_ID=3408&strPageHistory=cat;")
aI("text=RS*R;url=prodtype.asp?PT_ID=3547&strPageHistory=cat;")
aI("text=Skunk2;url=prodtype.asp?PT_ID=2345&strPageHistory=cat;")
aI("text=Tanabe;url=prodtype~PT_ID~3518~strPageHistory~cat.asp;")
aI("text=Thermal;url=prodtype.asp?PT_ID=2364&strPageHistory=cat;")
aI("text=Tsudo;url=prodtype.asp?PT_ID=379&strPageHistory=cat;")
}

with(milonic=new menuname("Exterior")){
openstyle="rtl";
style=menuStyle;
aI("text=Vertical Door Kits;url=prodtype.asp?PT_ID=2353&strPageHistory=cat;")
}

with(milonic=new menuname("Headers")){
openstyle="rtl";
style=menuStyle;
aI("text=DC Sports;url=prodtype~PT_ID~5349~strPageHistory~cat.asp;")
aI("text=Greddy;url=prodtype~PT_ID~496~strPageHistory~cat.asp;")
}

with(milonic=new menuname("Intake")){
openstyle="rtl";
style=menuStyle;
aI("text=Air Intakes;url=prodtype~PT_ID~135~strPageHistory~cat.asp;")
aI("text=Intake Manifolds;url=prodtype~PT_ID~374~strPageHistory~cat.asp;")
}

with(milonic=new menuname("Lighting")){
openstyle="rtl";
style=menuStyle;
aI("text=Headlights;url=prodtype.asp?PT_ID=2077&strPageHistory=cat;")
aI("text=Tail Light Lenses;url=prodtype.asp?PT_ID=56&strPageHistory=cat;")
}

with(milonic=new menuname("Nitrous")){
openstyle="rtl";
style=menuStyle;
aI("text=Zex;url=prodtype.asp?PT_ID=133&strPageHistory=cat;")
}

with(milonic=new menuname("Oil")){
openstyle="rtl";
style=menuStyle;
aI("text=Block Adapter;url=prodtype~PT_ID~5096~strPageHistory~cat.asp;")
aI("text=Catch Tanks;url=prodtype~PT_ID~5098~strPageHistory~cat.asp;")
aI("text=Filler Caps;url=prodtype~PT_ID~5099~strPageHistory~cat.asp;")
aI("text=Filter Relocation Kits;url=prodtype~PT_ID~5095~strPageHistory~cat.asp;")
aI("text=Oil Filters;url=prodtype~PT_ID~5097~strPageHistory~cat.asp;")
}

with(milonic=new menuname("Suspension")){
openstyle="rtl";
style=menuStyle;
aI("text=Alignment Kits;url=prodtype.asp?PT_ID=61&strPageHistory=cat;")
aI("text=Coil Overs;url=prodtype.asp?PT_ID=153&strPageHistory=cat;")
aI("text=Shocks/Struts;url=prodtype.asp?PT_ID=147&strPageHistory=cat;")
aI("text=Springs;url=prodtype.asp?PT_ID=145&strPageHistory=cat;")
aI("text=Strut and Sway Bars;url=prodtype.asp?PT_ID=158&strPageHistory=cat;")
aI("text=Suspension Kits;url=prodtype.asp?PT_ID=63&strPageHistory=cat;")
aI("text=Wheel Spacers;url=prodtype~PT_ID~4783~strPageHistory~cat.asp;")
}

with(milonic=new menuname("Transmission")){
openstyle="rtl";
style=menuStyle;
aI("text=Clutch Kits;url=prodtype~PT_ID~6817~strPageHistory~cat.asp;")
aI("text=Flywheels;url=prodtype.asp?PT_ID=86&strPageHistory=cat;")
aI("text=Limited Slip Differentials;url=prodtype.asp?PT_ID=375&strPageHistory=cat;")
aI("text=Shifters;url=prodtype.asp?PT_ID=99&strPageHistory=cat;")
}


with(milonic=new menuname("Turbo")){
openstyle="rtl";
style=menuStyle;
aI("text=Blow Off Valves;url=prodtype.asp?PT_ID=80&strPageHistory=cat;")
aI("text=Down/Up Pipes;url=prodtype.asp?PT_ID=350&strPageHistory=cat;")
aI("text=Intercooler Kits;url=prodtype.asp?PT_ID=130&strPageHistory=cat;")
aI("text=Turbo Kits;url=prodtype.asp?PT_ID=105&strPageHistory=cat;")
aI("text=Turbo Related Parts;url=prodtype.asp?PT_ID=1790&strPageHistory=cat;")
}


drawMenus();

Please help!

On a side note, my website is using DIV and CSS. Thank you in advance.


Poster: kevin3442
Dated: Saturday November 4 2006 - 4:19:57 GMT

You have menuwidth and itemwidth set to 100% in your menuStyle.

Still does not work


Poster: neilghuman
Dated: Saturday November 4 2006 - 14:19:33 GMT

I removed those two tags, and it still is all across the screen. What next? Please help.


Poster: John
Dated: Monday November 6 2006 - 14:29:25 GMT

Try the 5.762 pre-release.