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

Re: white edges on menu not good


Poster: rickferens
Dated: Thursday April 8 2010 - 20:30:16 BST

Thanks Andy,

It seems to work fine on my PC, I will check it on several versions of IE. And yes, it was only occurring on a PC.

I didn't know there was a drop shadow feature, thanks for your the time and the code!

Rick Ferens

Re: white edges on menu not good


Poster: Andy
Dated: Tuesday April 6 2010 - 18:17:31 BST

Hi,

I take it this only happens in Internet Explorer?

If so, it's probably the drop shadow on the main menu.

Here's a copy of your menu with some modifications. I made a copy of your menuStyle and applied some changes to it, then declared the main menus style as mainStyle:


Code:
fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=200;
_menuOpenDelay=100;
_subOffsetTop=10;
_subOffsetLeft=-0;

with(menuStyle=new mm_style()){
bordercolor="#000000";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="80%";
fontstyle="normal";
offbgcolor="#000000";
offcolor="#ffffff";
onbgcolor="#4D5D8C";
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=5;
separatorcolor="#000000";
separatorsize=4;
subimagepadding=6;
}

/* Take a snapshot of menuStyle */
mainStyle=new copyOf(menuStyle)
/* Set the new mainStyle's outfilter and overfilters to null */
mainStyle.overfilter=null;
mainStyle.outfilter=null;

with(milonic=new menuname("Main Menu")){
top=14;
left=440;
alwaysvisible=1;
orientation="horizontal";
/* Apply the new mainStyle to just the main menu */
style=mainStyle;
aI("showmenu=Home;text=Home;url=http://www.nationalaccountdoors.net/index.html;");
aI("showmenu=Products;text=Products;url=http://www.nationalaccountdoors.net/products.html;");
aI("showmenu=Services;text=Services;url=http://www.nationalaccountdoors.net/services.html;");
aI("showmenu=Projects;text=Projects;url=http://www.nationalaccountdoors.net/projects.html;");
aI("showmenu=Capabilities;text=Capabilities;url=http://www.nationalaccountdoors.net/capabil.html;");
aI("showmenu=Profile;text=Profile;url=http://www.nationalaccountdoors.net/profile.html;");
aI("showmenu=Contact Us;text=Contact Us;url=http://www.nationalaccountdoors.net/contact.html;");
}

with(milonic=new menuname("Products")){
overflow="scroll";
style=menuStyle;
aI("showmenu=Doors and Frames;text=Doors and Frames;url=http://www.nationalaccountdoors.net/doorfram.html;");
aI("showmenu=Hardware;text=Hardware;url=http://www.nationalaccountdoors.net/hardware.html;")
aI("text=Bath Accessories;url=http://www.nationalaccountdoors.net/bath.html;")
aI("text=Specialty Items;url=http://www.nationalaccountdoors.net/special.html;")
}

with(milonic=new menuname("Doors and Frames")){
style=menuStyle;
aI("text=Metal Doors;url=http://www.nationalaccountdoors.net/metal.html;");
aI("text=Wood Doors;url=http://www.nationalaccountdoors.net/wood.html;");
}

with(milonic=new menuname("Hardware")){
style=menuStyle;
aI("text=Yale, ASSA ABLOY;url=http://www.nationalaccountdoors.net/assa.html;")
aI("text=Corbin Russwin, ASSA ABLOY;url=http://www.nationalaccountdoors.net/corbin.html;")
aI("text=Cal Royal, Design, Dorma;url=http://www.nationalaccountdoors.net/calroy.html;")
}

with(milonic=new menuname("Services")){
style=menuStyle;
aI("text=Specification Writing;url=http://www.nationalaccountdoors.net/specs1.html;");
aI("text=Bid Packages;url=http://www.nationalaccountdoors.net/specs2.html;");
aI("text=Project Management;url=http://www.nationalaccountdoors.net/specs3.html;");
aI("text=Installation;url=http://www.nationalaccountdoors.net/install.html;");
}

with(milonic=new menuname("Capabilities")){
style=menuStyle;
}

with(milonic=new menuname("Profile")){
style=menuStyle;
}

with(milonic=new menuname("Contact Us")){
style=menuStyle;
}

drawMenus();

white edges on menu not good


Poster: rickferens
Dated: Sunday April 4 2010 - 23:46:44 BST

Hello,

Is there a way to get rid of the white edge on the right and bottom of the menu block? See www.nationalaccountdoors.net. I had recently updated the menu but to no avail. It looks great on the Mac but the white edges appear on a PC with Explorer. I remember seeing a post about this issue years ago but it doesn't turn up in a search. Your help would be appreciated.

The menu is great in all other respects!

Thanks, Rick Ferens