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

"divides" on horizontal menu not working with v5.7


Poster: SOCO
Dated: Friday September 1 2006 - 16:55:37 BST

I applied version v5.756 to my test website and the "divides" property on my horizontal menu stopped working. I assume that I have made another newbie mistake but I cannot figure it out. Any help would be appreciated.

My current working horizontal divides menu is on v5.754 and can be seen at:
http://www.specialolympicsco.org/

My "broken" test with v5.756 can be seen at:
http://www.specialolympicsco.org/milonic_test/index.html

My current & test menu_data.js code is:
Code:
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=0;
_subOffsetLeft=0;

horizontalMenuDelay="1";
buildAfterLoad=true;

with(horizStyle=new mm_style()){
//********CHANGE BELOW FOR BACKGROUND IMAGE**********
bgimage="/images/menu/backgrd_menu.gif";
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="arial, tahoma";
fontsize="100%";
fontstyle="normal";
fontweight="bold";
//headerbgcolor="#9999CC";
//headerborder=1;
//headercolor="#0033CC";
//********CHANGE BELOW FOR BACKGROUND COLOR**********
offbgcolor="#0033CC";
offcolor="#000000";
//onbold=1;
onbgcolor="#FEFAD2";
onborder="1px solid #999999";
oncolor="#000000";
onsubimage="/images/menu/on_downboxed.gif";
overbgimage="/images/menu/backon_beige.gif";
padding=3;
//pagebgcolor="#CFE2D1";
//pagecolor="#000066";
pageimage="/images/menu/db_red.gif";
separatoralign="right";
separatorcolor="#999999";
separatorpadding=1;
separatorheight="100%";
separatorsize=1;
subimage="/images/menu/downboxed.gif";
}

with(vertStyle=new mm_style()){
styleid=1;
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="arial, tahoma";
fontsize="100%";
fontstyle="normal";
fontweight="bold";
//headerbgcolor="#AFD1B5";
//headerborder=1;
//headercolor="#000099";
image="/images/menu/18_blank.gif";
imagepadding=5;
bgimage="/images/menu/backoff_dropdown.gif";
offbgcolor="transparent";
//offbgcolor="#0033CC";
offcolor="#000000";
onbgcolor="#FEFAD2";
onborder="1px solid #999999";
oncolor="#000000";
onsubimage="/images/menu/on_13x13_greyboxed.gif";
outfilter="randomdissolve(duration=0.2)";
overfilter="Fade(duration=0.1);Alpha(opacity=95);Shadow(color=#777777', Direction=135, Strength=3)";
padding=3;
pagebgcolor="#CFE2D1";
//pagebgimage="/images/menu/on_downboxed.gif";
pagecolor="#000066";
pageimage="/images/menu/db_red.gif";
separatoralign="right";
separatorcolor="#999999";
separatorpadding=1;
separatorwidth="85%";
separatorsize=1;
subimage="/images/menu/black_13x13_greyboxed.gif";
menubgcolor="#F5F5F5";
}


with(milonic=new menuname("Get Involved")){
style=vertStyle;
aI("text=Become a Volunteer;url=http://www.specialolympicsco.org/get/volunteer.html;");
aI("text=Become an Athlete;url=http://www.specialolympicsco.org/get/athletes.html;");
aI("text=Become a Coach;url=http://www.specialolympicsco.org/get/coaches.html;");
aI("text=Unified Sports Program;url=http://www.specialolympicsco.org/get/unified_sports_prgm.html;");
aI("text=Family and Friends;url=http://www.specialolympicsco.org/get/families.html;");
aI("text=Corporate Sponsorships;url=http://www.specialolympicsco.org/donate/corporate_sponsorships.html;");
}

with(milonic=new menuname("Sports")){
style=vertStyle;
aI("text=Sports Offered;url=http://www.specialolympicsco.org/events/desc_sports.html;");
aI("text=Statewide Competitions;url=http://www.specialolympicsco.org/events/state_comp.html;");
aI("text=Master Calendar;url=http://www.specialolympicsco.org/events/master_calendar.html;");
aI("text=Local Area Information;url=http://www.specialolympicsco.org/localprograms/local_area_info.html;");
}

with(milonic=new menuname("Local Programs")){
style=vertStyle;
aI("text=What Area Do I Live In?;url=http://www.specialolympicsco.org/localprograms/local_area_info.html;");
aI("text=Denver Area;url=http://www.specialolympicsco.org/localprograms/DMathlete_training_sites.html;");
aI("text=Foothills Area;url=http://www.specialolympicsco.org/localprograms/FHathlete_training_sites.html;");
aI("text=High Plains Area;url=http://www.specialolympicsco.org/localprograms/HPathlete_training_sites.html;");
aI("text=Northeast Area;url=http://www.specialolympicsco.org/localprograms/NEathlete_training_sites.html;");
aI("text=Southeast Area;url=http://www.specialolympicsco.org/localprograms/SEathlete_training_sites.html;");
aI("text=Southwest Area;url=http://www.specialolympicsco.org/localprograms/SWathlete_training_sites.htm;");
aI("text=Western Area;url=http://www.specialolympicsco.org/localprograms/WEathlete_training_sites.html;");
aI("text=Statewide Competitions;url=http://www.specialolympicsco.org/events/state_comp.html;");
}

with(milonic=new menuname("Special Events & Fundraisers")){
style=vertStyle;
aI("text=Statewide Special Events;url=http://www.specialolympicsco.org/special_events/special_events.html;");
aI("text=Community Fundraisers;url=http://www.specialolympicsco.org/special_events/local_fundraisers.html;");
aI("text=Master Calendar;url=http://www.specialolympicsco.org/events/master_calendar.html;");
}

with(milonic=new menuname("Donate")){
style=vertStyle;
aI("text=Why Choose SOCO?;url=http://www.specialolympicsco.org/donate/choose_soco.html;");
aI("text=Different Ways to Donate;url=http://www.specialolympicsco.org/donate/ways_to_donate.html;");
aI("text=Make a Donation;url=http://www.specialolympicsco.org/donate/make_donation.html;");
aI("text=Corporate Sponsorships;url=http://www.specialolympicsco.org/donate/corporate_sponsorships.html;");
aI("text=Donate a Vehicle!;url=http://www.specialolympicsco.org/donate/ways_to_donate.html;");
}

with(milonic=new menuname("Law Enforcement Torch Run")){
style=vertStyle;
aI("text=About LETR;url=http://www.specialolympicsco.org/special_events/law_enforce_torchrun.html;");
aI("text=LETR Schedule of Events;url=http://www.specialolympicsco.org/special_events/letr_events.html;");
}

with(milonic=new menuname("About Us")){
style=vertStyle;
aI("text=About SOCO;url=http://www.specialolympicsco.org/about/about_us.html;");
aI("text=Contact Us;url=http://www.specialolympicsco.org/about/contact_us.html;");
aI("text=Board of Directors;url=http://www.specialolympicsco.org/about/board_directors.html;");
aI("text=FAQ;url=http://www.specialolympicsco.org/about/faq.html;");
aI("text=Employment Opportunities;url=http://www.specialolympicsco.org/about/Employment.html;");
aI("text=Press Releases;url=http://www.specialolympicsco.org/about/press_releases.html;");
aI("text=Newsletter;url=http://www.specialolympicsco.org/about/newsletter.html;");
aI("text=Additional Resources;url=http://www.specialolympicsco.org/about/Other_Resources.htm;");
}

with(milonic=new menuname("Search")){
style=vertStyle;
aI("text=<FORM method=GET action=http://www.google.com/search><input type=hidden name=ie value=UTF-8><input type=hidden name=oe value=UTF-8><TABLE bgcolor=#FFFFFF><tr><td><A HREF=http://www.google.com/><IMG SRC=http://www.google.com/logos/Logo_40wht.gif border=0 ALT=Google></A></td><td><INPUT TYPE=text name=q size=20 maxlength=255 value=><INPUT type=submit name=btnG VALUE=Search><font size=-1><input type=hidden name=domains value=www.specialolympicsco.org><br><input type=radio name=sitesearch value=www.specialolympicsco.org checked> Special Olympics Colorado <br></font></td></tr></TABLE></FORM>;type=form;align=center;");
}


with(milonic=new menuname("Main Menu")){
screenposition="center"
alwaysvisible=1;
left=10;
margin=2;
orientation="horizontal";
style=horizStyle;
top=10;
divides=2;
position="relative";
aI("text=Home;url=http://www.specialolympicsco.org/;");
aI("text=Calendar;url=http://www.specialolympicsco.org/events/master_calendar.html;");
aI("showmenu=Get Involved;text=Get Involved;url=http://www.specialolympicsco.org/get/get_involved.html;");
aI("showmenu=Sports;text=Sports;");
aI("showmenu=Local Programs;text=Local Programs;");
aI("showmenu=Special Events & Fundraisers;text=Special Events & Fundraisers;url=http://www.specialolympicsco.org/special_events/special_events.html;");
aI("showmenu=Donate;text=Donate;url=http://www.specialolympicsco.org/donate/donate.html;");
aI("showmenu=Law Enforcement Torch Run;text=Law Enforcement Torch Run;url=http://www.specialolympicsco.org/special_events/law_enforce_torchrun.html;");
aI("showmenu=About Us;text=About Us;url=http://www.specialolympicsco.org/about/about_us.html;");
aI("showmenu=Search;text=Search;url=http://www.specialolympicsco.org/search.html;");
}
[/code][/url]


Poster: Ruth
Dated: Friday September 1 2006 - 21:34:02 BST

Hi,

I've reported it, it should be fixed in the next update.

Ruth


Poster: SOCO
Dated: Friday September 1 2006 - 21:49:34 BST

Thank you. I will be looking for the latest version.


Poster: Andy
Dated: Friday September 1 2006 - 21:59:50 BST

Looks like a problem with Horizontal menus only - Vertical ones seem OK.

I'm onto it though

Cheers,
Andy