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

Can't add anymore menus.


Poster: ford4
Dated: Thursday July 7 2005 - 6:37:30 BST

I have added 5 menus and they work but when I try and add anymore I get a script error that says Syntax error line 88 char 1
I have looked at it time and time again and I'm' having no luck.
I have not published it yet on my web site, I am designing it in Front Page 2003 and just doing a preview to see how it looks.
I had tried another version and have that on my web site and it works fine. version 3.3.19
Web address is http://personalpages.tds.net/~fordijjc/index4.html
This is just a tempory web site to test it first.
The actual web site will be http://www.gymfinity.com
I purchased version 5.0 so I am recreating it.
Any help

Here is what I have.
It works down to menu class if I remove the other menus, otherwise I get the error.

_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;




with(menuStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="red";
headercolor="red";
offbgcolor="white";
offcolor="000000";
onbgcolor="990000";
oncolor="white";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#999999";
separatorsize=1;
subimage="arrow.gif";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=72;
orientation="horizontal";
style=menuStyle;
top=135;
aI("showmenu=about;text=About;");
aI("text=Facility;url=http://personalpages.tds.net/~fordijjc/facility.htm;");
aI("showmenu=calendars;text=Calendars;");
aI("showmenu=events;text=Events;");
aI("showmenu=camps;text=Camps;");
aI("showmenu=class;text=Class Schedule;");
aI("text=News;url=http://personalpages.tds.net/~fordijjc/news.htm;");
aI("showmenu=links;text=Links;");
aI("showmenu=competitive;text=Competitive;");
aI("showmenu=team;text=Team Members;");
aI("text=Contact Us;url=http://personalpages.tds.net/~fordijjc/contact_us.htm;");
}

with(milonic=new menuname("about")){
overflow="scroll";
style=menuStyle;
aI("text=About Owners;url=http://personalpages.tds.net/~fordijjc/about_owners.htm;")
aI("text=About Staff;url=http://personalpages.tds.net/~fordijjc/about_staff.htm;")
aI("text=About Philosophy;url=http://personalpages.tds.net/~fordijjc/about_philosophy.htm;")

}

with(milonic=new menuname("calendars")){
style=menuStyle;
aI("text=August 2005;url=http://personalpages.tds.net/~fordijjc/august_2005.htm;");
aI("text=September 2005 2005;url=http://personalpages.tds.net/~fordijjc/september_2005.htm;");
aI("text=October 2005;url=http://personalpages.tds.net/~fordijjc/october_2005.htm;");
aI("text=November 2005;url=http://personalpages.tds.net/~fordijjc/november_2005.htm;");
aI("text=December 2005;url=http://personalpages.tds.net/~fordijjc/december_2005.htm;");
aI("text=January 2006;url=http://personalpages.tds.net/~fordijjc/january_2006.htm;");
}

with(milonic=new menuname("events")){
style=menuStyle;
aI("text=Field Trips;url=http://personalpages.tds.net/~fordijjc/field_trips.htm;");
aI("text=Birthday Parties;url=http://personalpages.tds.net/~fordijjc/birthday_parties.htm;");
aI("text=Open Gyms;url=http://personalpages.tds.net/~fordijjc/open_gyms.htm;");
aI("text=Parents Night Out;url=http://personalpages.tds.net/~fordijjc/parents_night_out.htm;");
}

with(milonic=new menuname("camps")){
style=menuStyle;
aI("text=No Bummer Summer;url=http://personalpages.tds.net/~fordijjc/no_bummer_summer.htm;");
aI("text=Flyers Cheer Camp;url=http://personalpages.tds.net/~fordijjc/flyers_cheer_camp.htm;");
}

with(milonic=new menuname("class")){
style=menuStyle;
aI("text=Schedules;url=http://personalpages.tds.net/~fordijjc/schedules.htm;");
aI("text=Real Time Availability;url=http://personalpages.tds.net/~fordijjc/real_time_availability.htm;");
aI("text=Registration Portal;url=http://personalpages.tds.net/~fordijjc/registration_portal.htm;");}
}

with(milonic=new menuname("links")){
style=menuStyle;
aI("text=USA-Gymnastics;url=http://www.usa-gymnastics.org;");
aI("text=WGCOA;url=http://www.wisconsingymnasticsclubs.com;");
aI("text=9.9 Sales;url=http://www.gymsupply.com;");
aI("text=International Gymnast;url=http://www.intlgymnast.com;");
aI("text=Region 4;url=http://www.usa-gymnastics.org/committee/w-reg4.html;");
aI("text=Character Counts;url=http://charactercounts.org/sports;");
}

with(milonic=new menuname("competitive")){
style=menuStyle;
aI("text=Field Trips;url=http://personalpages.tds.net/~fordijjc/field_trips.htm;");
aI("text=Birthday Parties;url=http://personalpages.tds.net/~fordijjc/birthday_parties.htm;");
aI("text=Open Gyms;url=http://personalpages.tds.net/~fordijjc/open_gyms.htm;");
aI("text=Parents Night Out;url=http://personalpages.tds.net/~fordijjc/parents_night_out.htm;");
}

with(milonic=new menuname("team")){
style=menuStyle;
aI("text=Schedules;url=http://personalpages.tds.net/~fordijjc/schedules.htm;");
aI("text=Real Time Availability;url=http://personalpages.tds.net/~fordijjc/real_time_availability.htm;");
aI("text=Registration Portal;url=http://personalpages.tds.net/~fordijjc/registration_portal.htm;");}


drawMenus();

Code:

Any help would be great.
Thanks,
John

ford4 __at__ tds.net


Poster: John
Dated: Thursday July 7 2005 - 15:12:06 BST

Actually you called it!

At the end of the 'class' menu definition you have 2 } characters. Kinda shuts things down... :roll: