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

separator color and other issues


Poster: cer_guy
Dated: Thursday September 25 2003 - 15:31:33 BST

No matter what I seem to do, I can't get the separator color to do anything to the main menu I've created. Take a look at the following link to see what I mean:

http://www-dev.cer.jhu.edu

All the submenus have a black separator between the menu items, but the main horizontal one at the top has white separators. I've played with all the separator* directives in my meny style to no avail. Can anyone tell me why this isn't working?

Finally, as much as this menu claims to work in most browsers, I'm not seeing that. IE displays the menu fine except for the separator colors, Mozilla draws the main menu too large in the vertical direction, and Safari displays all the drop down menus detached below and to the right of the main horizontal menu. What's the deal?

Anyway, below is my menu_data.js file, thanks for helping.

This is my menu_data.js file:
------------------------------------
_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=40 // Follow scrolling Rate
_subOffsetTop=10 // Sub menu top of fset
_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()){
offcolor="#000000";
offbgcolor="#cccccc";
oncolor="#ffffff";
onbgcolor="#990000";
bordercolor="#000000";
borderstyle="solid";
bordercolor="black";
borderwidth=1;
separatorcolor="#000000";
separatorsize=1;
fontsize=12;
fontstyle="normal";
fontweight="bold";
fontfamily="verdana,helvetica";
padding=4;
pagecolor="#ffffff";
pagebgcolor="#990000";
headercolor="#000000";
headerbgcolor="#cccccc";
}


with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=101;
left=20;
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://www.cer.jhu.edu/;status=Back To Home Page");
aI("text=About;showmenu=About;");
aI("text=Projects;showmenu=Projects;");
aI("text=Calendar;url=http://www.cer.jhu.edu/calendar/index.cfm?pageID=95;status=Show the Calendar");
aI("text=Resources;showmenu=Resources;");
aI("text=News;showmenu=News;url=http://www.cer.jhu.edu/content/index.cfm?pageID=98;status=All the News");
}

with(milonic=new menuname("About")){
itemwidth=175;
borderwidth=1;
style=menuStyle;
aI("text=Mission;url=/content/index.cfm?pageID=93#mission;")
aI("text=Location;url=/content/index.cfm?pageID=93#location;")
aI("text=Staff;url=/content/index.cfm?pageID=83;")
aI("text=Services;url=/content/index.cfm?pageID=162;")
aI("text=Partners;url=/content/index.cfm?pageID=146;;status=Read about CER partners")
aI("text=Student Opportunities;url=/content/index.cfm?pageID=147;")
}

with(milonic=new menuname("Projects")){
itemwidth=300;
borderwidth=1;
style=menuStyle;
aI("text=Arthur Vining Davis Foundation;url=/content/index.cfm?pageID=129;")
aI("text=Technology Fellowship Program;url=/content/index.cfm?pageID=128;")
aI("text=Howard Hughes Biology Education Enhancement;url=/content/index.cfm?pageID=130;")
aI("text=Project Portfolio;url=/content/index.cfm?pageID=131;")
}

with(milonic=new menuname("Resources")){
itemwidth=225;
borderwidth=1;
style=menuStyle;
aI("text=Annotated External Web Links;url=/content/index.cfm?pageID=82;")
aI("text=Tool Compendium;url=/content/index.cfm?pageID=100;")
aI("text=Faculty Multimedia Lab;url=/ressystem/;")
aI("text=Online Journals for College Educators;url=/content/index.cfm?pageID=205;")
aI("text=University Committee on Electronic and Distance Education;url=/content/index.cfm?pageID=266;")
aI("text=Event Handouts;url=/calendar/notes.cfm;")
}

drawMenus();