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:16
generic menu fail
Poster: stuartharden
Dated: Thursday September 4 2008 - 20:03:24 BST
I am at a loss for why when I add a new with statement:
Code:
with(milonic=new menuname("header")){
style=menuStyle1;
top=10;
screenposition="center";
left="offset=120";
orientation="horizontal";
aI(image=/ul/menu/305x100spacer.gif;url=/ul/nmhag/KOTB-flier-8.08.pdf;target=_blank;");
}
style=menuStyle1;
top=10;
screenposition="center";
left="offset=120";
orientation="horizontal";
aI(image=/ul/menu/305x100spacer.gif;url=/ul/nmhag/KOTB-flier-8.08.pdf;target=_blank;");
}
With that statement removed, the menu functions, with it in place, I get an expected character error line 190 character 15, expected ")".
Code:
_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150 // The time delay before menus open on mouse over
_subOffsetTop=10 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset
with(menuStyle1=new mm_style()){
styleid=1;
onbgcolor="#005596";
oncolor="#FFFFFF";
offbgcolor="transparent";
offcolor="#005596";
bordercolor="#005596";
borderstyle="solid";
borderwidth=0;
separatorcolor="#FFFFFF";
separatorsize=0;
padding=5;
fontsize=11;
fontstyle="bold";
fontfamily="Arial";
//pagecolor="#000000";
fontweight="bold";
//pagebgcolor="#FFFFFF";
headercolor="#000000";
headerbgcolor="#000000";
subimagepadding=0;
subimage="/ul/sh/arrow-white.gif";
//overfilter="Fade(duration=0.2);Alpha(opacity=100)";
//outfilter="randomdissolve(duration=0.3)";
}
with(menuStyle4=new mm_style()){
styleid=4;
align="center";
onbgcolor="transparent";
oncolor="#005596";
offbgcolor="transparent";
offcolor="#005596";
bordercolor="#005596";
borderstyle="solid";
borderwidth=0;
separatorcolor="#FFFFFF";
separatorsize=0;
padding=5;
fontsize=13;
fontstyle="bold";
fontfamily="Arial";
pagecolor="#005596";
fontweight="bold";
pagebgcolor="#FFFFFF";
headercolor="#000000";
headerbgcolor="#000000";
subimagepadding=0;
subimage="/ul/sh/arrow-white.gif";
}
with(menuStyle5=new mm_style()){
styleid=5;
align="center";
onbgcolor="transparent";
oncolor="#005596";
offbgcolor="transparent";
offcolor="#005596";
bordercolor="#005596";
borderstyle="solid";
borderwidth=0;
separatorcolor="#FFFFFF";
separatorsize=0;
padding=5;
fontsize=11;
fontweight="normal";
fontfamily="Arial";
pagecolor="#000000";
fontweight="bold";
pagebgcolor="#FFFFFF";
headercolor="#000000";
headerbgcolor="#000000";
subimagepadding=0;
subimage="/ul/sh/arrow-white.gif";
}
with(menuStyle3=new mm_style()){
styleid=3;
onbgcolor="#005596";
oncolor="#FFFFFF";
offbgcolor="#FFFFFF";
offcolor="#005596";
bordercolor="#005596";
borderstyle="solid";
borderwidth=3;
separatorcolor="#FFFFFF";
separatorsize=0;
padding=5;
fontsize=12;
fontstyle="bold";
fontfamily="Arial";
pagecolor="#000000";
fontweight="bold";
pagebgcolor="#FFFFFF";
headercolor="#000000";
headerbgcolor="#000000";
subimagepadding=0;
subimage="/ul/sh/arrow-white.gif";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}
with(menuStyle6=new mm_style()){
styleid=6;
onbgcolor="#FFFFFF";
oncolor="#005596";
offbgcolor="#FFFFFF";
offcolor="#000000";
bordercolor="#005596";
borderstyle="solid";
borderwidth=0;
separatorcolor="#FFFFFF";
separatorsize=0;
padding=1;
fontsize=10;
fontstyle="bold";
fontfamily="Arial";
pagecolor="#000000";
fontweight="bold";
pagebgcolor="#FFFFFF";
headercolor="#000000";
headerbgcolor="#000000";
subimagepadding=0;
subimage="/ul/sh/arrow-white.gif";
outfilter="randomdissolve(duration=0.3)";
}
with(menuStyle=new mm_style()){
onbgcolor="#005596";
oncolor="#FFFFFF";
offbgcolor="#FFFFFF";
offcolor="#005596";
bordercolor="#005596";
borderstyle="solid";
borderwidth=1;
separatorcolor="#005596";
separatorsize=1;
padding=5;
fontsize=11;
fontstyle="bold";
fontfamily="Arial ";
pagecolor="#FFFFFF";
fontweight="bold"
pagebgcolor="#005596";
headercolor="#000000";
headerbgcolor="#000000";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}
with(PageStyle=new mm_style()){
styleid=2;
onbgcolor="#005596";
oncolor="#FFFFFF";
offbgcolor="#FFFFFF";
offcolor="#005596";
bordercolor="#FFFFFF";
borderstyle="solid";
borderwidth="0";
separatorcolor="#005596";
separatorsize=1;
padding=5;
fontsize=11;
fontstyle="bold";
fontfamily="Arial ";
pagecolor="#FFFFFF";
fontweight="bold"
pagebgcolor="#005596";
headercolor="#000000";
headerbgcolor="#000000";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}
with(milonic=new menuname("header")){
style=menuStyle1;
top=10;
screenposition="center";
left="offset=120";
orientation="horizontal";
aI(image=/ul/menu/305x100spacer.gif;url=/ul/nmhag/KOTB-flier-8.08.pdf;target=_blank;");
}
with(milonic=new menuname("MainCI")){
style=menuStyle1;
top=125;
screenposition="center";
left="offset=120";
orientation="horizontal";
alwaysvisible=1;
aI("text=HOME;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=default;");
aI("text=Legislation;showmenu=legislation;");
aI("text=News;url=/nmhag/main.asp?PT=n_main&Client=nmhag;");
aI("text=Grassroots;showmenu=grassroots;");
aI("text=Officials;showmenu=officials;");
aI("text=Membership;showmenu=membership;");
aI("text=Admin;showmenu=admin;");
}
with(milonic=new menuname("Address")){
style=menuStyle4;
top=831;
screenposition="center";
left="offset=-318";
orientation="horizontal";
alwaysvisible=1;
aI("text=Mental Health America<br>of Georgia;");
}
with(milonic=new menuname("Address2")){
style=menuStyle5;
top=725;
screenposition="center";
left="offset=-318";
orientation="horizontal";
alwaysvisible=1;
aI("text=100 Edgewood Ave. NE<br>Suite 502<br>Atlanta, GA 30303-3068<br><br>404-527-7175<br>404-527-7187 (FAX)<br>1-800-933-9896<br><br><br>;");
}
with(milonic=new menuname("MainNMHAG")){
style=menuStyle3;
top=182;
screenposition="center";
left="offset=-320";
orientation="vertical";
alwaysvisible=1;
aI("text=Choose a page...;offbgcolor=#005596;offcolor=#FFFFFF;");
aI("text=HOME;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=default;");
aI("text=About MHA of Georgia;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=about_nmhag;");
aI("text=Board of Directors;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=board_admin;");
aI("text=DONATE NOW!;oncolor=#cc0000;offcolor=#cc0000;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=donate;");
aI("text=PROGRAMS;showmenu=projects;");
// aI("text=Community<br>Care / Support;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=ccs;");
aI("text=Public Policy &<br>Advocacy;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=ppa;");
aI("text=MHA of Georgia Affiliates;url=/nmhag/main.asp?RoutineCk=Display&PT=edit_pages&Page=affiliates&Client=nmhag;");
aI("text=Contact Us;url=/nmhag/main.asp?RoutineCk=Display&PT=edit_pages&Page=contact&Client=nmhag;");
aI("align=center;fontsize=11;text=<b>Upcoming Events</b>;offbgcolor=#005596;offcolor=#FFFFFF;onbgcolor=#005596;oncolor=#FFFFFF;");
aI("text=MHA of GA Events;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=teeoff2006;");
//aI("text=<font color=#FFFFFF>blank</font>;url=;");
//aI("text=REGISTER NOW;oncolor=#cc0000;offcolor=#cc0000;url=https://www.ciclt.net/ciprod/Events/Registration.asp?E=1434&Ty=&P=&EL=;");
//aI("text=<font color=#FFFFFF>blank</font>;url=;");
//aI("align=center;fontsize=11;text=<b>Multicultural Outreach<br>Programs</b>;offbgcolor=#005596;offcolor=#FFFFFF;onbgcolor=#005596;oncolor=#FFFFFF;");
//aI("text=Project HOPE;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=projhope;");
//aI("text=Rainbow Brigade;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=rainbowbrigade;");
//aI("text=Proyecto Esperanza;url=/nmhag/main.asp?RoutineCk=Display&PT=edit_pages&Page=proyectoesp&Client=nmhag;");
//aI("text=Proyecto Esperanza -<br>English;url=/nmhag/main.asp?RoutineCk=Display&PT=edit_pages&Page=proyectoesp_eng&Client=nmhag;");
//aI("text=<font color=#FFFFFF>blank</font>;url=;");
aI("align=center;fontsize=11;text=<b>Legislative Agenda</b>;offbgcolor=#005596;offcolor=#FFFFFF;onbgcolor=#005596;oncolor=#FFFFFF;");
aI("text=2008 Legislative Agenda;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=legagenda;");
//aI("text=<font color=#FFFFFF>blank</font>;url=;");
aI("align=center;fontsize=11;text=<b>Education Resources</b>;offbgcolor=#005596;offcolor=#FFFFFF;onbgcolor=#005596;oncolor=#FFFFFF;");
aI("text=Mental Health Library;url=/nmhag/main.asp?RoutineCk=Display&PT=edit_pages&Page=community_ed&Client=nmhag;");
aI("text=Mental Health Links;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=mhlinks;");
aI("text=NIMH Partnership<br>Program;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=NIMHPP;");
// aI("text=<font color=#FFFFFF>blank</font>;url=;");
// aI("align=center;fontsize=11;text=<b>Agency Brochures</b>;offbgcolor=#005596;offcolor=#FFFFFF;onbgcolor=#005596;oncolor=#FFFFFF;");
// aI("text=Agency Brochures;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=brochures;");
}
with(milonic=new menuname("projects")){
style=menuStyle;
aI("text=Project Healthy Moms: Perinatal Mood Disorders;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=Project_Healthy_Moms;");
aI("text=Project Veterans' Wellness;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=Project_Vet_Wellness;");
aI("text=Project Mental Wellness: General Mental Health;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=Project_Mental_Wellness;");
aI("text=Project Male Depression;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=Project_Male_Depression;");
aI("text=Project Healthcare Access: Mental Health & Primary Care;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=Project_Healthcare_Access;");
aI("text=Project Workplace: Mental Health in the Workplace;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=Project_Workplace;");
aI("text=Kids on the Block;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=kotb;");
}
with(milonic=new menuname("HelpNow")){
style=menuStyle3;
top=675;
screenposition="center";
left="offset=-320";
orientation="vertical";
alwaysvisible=1;
aI("text=Need Help Now?;offbgcolor=#FF0000;offcolor=#FFFFFF;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=helpnow;");
}
with(milonic=new menuname("admin")){
style=menuStyle;
aI("text=Edit Pages;url=/nmhag/main.asp?PT=edit_pages&Client=nmhag;");
aI("text=Upload;url=/nmhag/main.asp?Client=nmhag&PT=file_upload;");
aI("text=Welcome;url=/nmhag/main.asp?PT=welcome&Client=nmhag;");
aI("text=Duplicate Emails;url=/nmhag/editpage.asp?PT=p_dup_emailck&Client=nmhag;");
aI("text=Help;url=/hlep/Georgia_track_legislative_tracking.htm;target=_blank;");
aI("text=Online Editor Help;url=/ul/sh/CI_Online_Editor.pdf;target=_blank;");
aI("text=Editor Help;url=/ul/sh/CI_Online_Editor.pdf;target=_blank;");
}
with(milonic=new menuname("grassroots")){
style=menuStyle;
aI("text=Join;url=/nmhag/main.asp?PT=join&Client=nmhag;");
aI("text=Login;url=/nmhag/main.asp?PT=login&Client=nmhag;");
}
with(milonic=new menuname("membership")){
style=menuStyle;
aI("text=People Overview;url=/nmhag/main.asp?PT=p_main&Client=nmhag;");
aI("text=Organizations Overview;url=/nmhag/main.asp?PT=o_main&Client=nmhag;");
}
with(milonic=new menuname("legislation")){
style=menuStyle;
aI("text=Overview Page;url=/nmhag/main.asp?PT=l_main&Client=nmhag;");
aI("text=Tracking Level;showmenu=track;");
aI("text=Bill Number;showmenu=billno;");
aI("text=Issues;showmenu=issues;");
aI("text=Structured Search;url=/nmhag/main.asp?PT=l_search&Client=nmhag;");
aI("text=New Bills;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=9&Type=TL&Title=New%20Bills;");
aI("text=Add Bills;url=/nmhag/main.asp?PT=l_lookup&Client=nmhag;");
}
with(milonic=new menuname("track")){
style=menuStyle;
opacity="99";
aI("text=Hot;align=center;itemwidth=100;offbgcolor=#FF0000;onbgcolor=#FF0000;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=1&Type=TL&Title=Hot;");
aI("text=Work;align=center;itemwidth=100;offbgcolor=#FF9900;onbgcolor=#FF9900;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=2&Type=TL&Title=Work;");
aI("text=Watch;align=center;itemwidth=100;offbgcolor=#FFFF00;onbgcolor=#FFFF00;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=3&Type=TL&Title=Watch;");
aI("text=Monitor;align=center;itemwidth=100;offbgcolor=#005596;onbgcolor=#005596;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=4&Type=TL&Title=Monitor;");
aI("text=Passed;align=center;itemwidth=100;offbgcolor=#339933;onbgcolor=#339933;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=5&Type=TL&Title=Passed;");
}
with(milonic=new menuname("billno")){
style=menuStyle;
opacity="99";
aI("text=House Bills;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=HB&Type=BT&Title=House%20Bills;");
aI("text=House Resolutions;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=HR&Type=BT&Title=House%20Resolutions;");
aI("text=Senate Bills;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=SB&Type=BT&Title=Senate%20Bills;");
aI("text=Senate Resolutions;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=SR&Type=BT&Title=Senate%20Resolutions;");
}
with(milonic=new menuname("issues")){
style=menuStyle;
opacity="99";
aI("text=Issues - Health;url=/nmhag/main.asp?PT=l_list&Client=nmhag&Type=Code&SchStr=Health&Title=Issues%20-%20Health;");
aI("text=Issues - Mental Health;url=/nmhag/main.asp?PT=l_list&Client=nmhag&Type=Code&SchStr=mhealth&Title=Issues%20-%20Mental%20Health;");
}
with(milonic=new menuname("officials")){
style=menuStyle;
opacity="99";
aI("text=Statewide;showmenu=statewide;");
aI("text=Congress;showmenu=congress;");
aI("text=Senate;showmenu=senate;");
aI("text=House;showmenu=house;");
aI("text=County;url=/nmhag/main.asp?PT=pocty_list&Client=nmhag&FIPS=13;");
aI("text=District Lookup;url=/nmhag/main.asp?PT=po_lookup&Client=nmhag;");
aI("text=Birthday List;url=/nmhag/main.asp?PT=po_bdlist&Client=nmhag&State=ga;");
aI("text=GR Email;url=/nmhag/main.asp?PT=po_grem&Client=nmhag&State=ga;");
}
with(milonic=new menuname("statewide")){
style=menuStyle;
opacity="99";
aI("text=By Name;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=statewide&Title=Statewide%20by%20Name;");
aI("text=Democrats;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=statewide&Party=D&Title=Statewide%20Democrats;");
aI("text=Republicans;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=statewide&Party=R&Title=Statewide%20Republicans;");
}
with(milonic=new menuname("congress")){
style=menuStyle;
opacity="99";
aI("text=By Name;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=congress&Title=Congress%20by%20Name;");
aI("text=By District;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=congressdl&Title=Congress%20by%20District;");
aI("text=Democrats;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=congress&Party=D&Title=Congress%20-%20Democrats;");
aI("text=Republicans;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=congress&Party=R&Title=Congress%20-%2Republicans;");
}
with(milonic=new menuname("senate")){
style=menuStyle;
opacity="99";
aI("text=By Name;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=stsenate&Title=Senate%20by%20Name;");
aI("text=By District;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=stsenatedl&Title=Senate%20by%20District;");
aI("text=Democrats;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=stsenate&Party=D&Title=Senate%20by%20Name;");
aI("text=Republicans;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=stsenate&Party=R&Title=Senate%20by%20Name;");
aI("text=Committees;url=/nmhag/main.asp?PT=poc_list&Client=nmhag&State=ga&List=stsenate;");
}
with(milonic=new menuname("house")){
style=menuStyle;
opacity="99";
aI("text=By Name;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=sthouse&Title=House%20of%20Represenatives%20by%20Name;");
aI("text=By District;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=sthousedl&Title=House%20of%20Represenatives%20by%20District;");
aI("text=Democrats;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=sthouse&Party=D&Title=House%20of%20Represenatives%20by%20Name;");
aI("text=Republicans;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=sthouse&Party=R&Title=House%20of%20Represenatives%20by%20Name;");
aI("text=Committees;url=/nmhag/main.asp?PT=poc_list&Client=nmhag&State=ga&List=sthouse;");
}
drawMenus();
_menuOpenDelay=150 // The time delay before menus open on mouse over
_subOffsetTop=10 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset
with(menuStyle1=new mm_style()){
styleid=1;
onbgcolor="#005596";
oncolor="#FFFFFF";
offbgcolor="transparent";
offcolor="#005596";
bordercolor="#005596";
borderstyle="solid";
borderwidth=0;
separatorcolor="#FFFFFF";
separatorsize=0;
padding=5;
fontsize=11;
fontstyle="bold";
fontfamily="Arial";
//pagecolor="#000000";
fontweight="bold";
//pagebgcolor="#FFFFFF";
headercolor="#000000";
headerbgcolor="#000000";
subimagepadding=0;
subimage="/ul/sh/arrow-white.gif";
//overfilter="Fade(duration=0.2);Alpha(opacity=100)";
//outfilter="randomdissolve(duration=0.3)";
}
with(menuStyle4=new mm_style()){
styleid=4;
align="center";
onbgcolor="transparent";
oncolor="#005596";
offbgcolor="transparent";
offcolor="#005596";
bordercolor="#005596";
borderstyle="solid";
borderwidth=0;
separatorcolor="#FFFFFF";
separatorsize=0;
padding=5;
fontsize=13;
fontstyle="bold";
fontfamily="Arial";
pagecolor="#005596";
fontweight="bold";
pagebgcolor="#FFFFFF";
headercolor="#000000";
headerbgcolor="#000000";
subimagepadding=0;
subimage="/ul/sh/arrow-white.gif";
}
with(menuStyle5=new mm_style()){
styleid=5;
align="center";
onbgcolor="transparent";
oncolor="#005596";
offbgcolor="transparent";
offcolor="#005596";
bordercolor="#005596";
borderstyle="solid";
borderwidth=0;
separatorcolor="#FFFFFF";
separatorsize=0;
padding=5;
fontsize=11;
fontweight="normal";
fontfamily="Arial";
pagecolor="#000000";
fontweight="bold";
pagebgcolor="#FFFFFF";
headercolor="#000000";
headerbgcolor="#000000";
subimagepadding=0;
subimage="/ul/sh/arrow-white.gif";
}
with(menuStyle3=new mm_style()){
styleid=3;
onbgcolor="#005596";
oncolor="#FFFFFF";
offbgcolor="#FFFFFF";
offcolor="#005596";
bordercolor="#005596";
borderstyle="solid";
borderwidth=3;
separatorcolor="#FFFFFF";
separatorsize=0;
padding=5;
fontsize=12;
fontstyle="bold";
fontfamily="Arial";
pagecolor="#000000";
fontweight="bold";
pagebgcolor="#FFFFFF";
headercolor="#000000";
headerbgcolor="#000000";
subimagepadding=0;
subimage="/ul/sh/arrow-white.gif";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}
with(menuStyle6=new mm_style()){
styleid=6;
onbgcolor="#FFFFFF";
oncolor="#005596";
offbgcolor="#FFFFFF";
offcolor="#000000";
bordercolor="#005596";
borderstyle="solid";
borderwidth=0;
separatorcolor="#FFFFFF";
separatorsize=0;
padding=1;
fontsize=10;
fontstyle="bold";
fontfamily="Arial";
pagecolor="#000000";
fontweight="bold";
pagebgcolor="#FFFFFF";
headercolor="#000000";
headerbgcolor="#000000";
subimagepadding=0;
subimage="/ul/sh/arrow-white.gif";
outfilter="randomdissolve(duration=0.3)";
}
with(menuStyle=new mm_style()){
onbgcolor="#005596";
oncolor="#FFFFFF";
offbgcolor="#FFFFFF";
offcolor="#005596";
bordercolor="#005596";
borderstyle="solid";
borderwidth=1;
separatorcolor="#005596";
separatorsize=1;
padding=5;
fontsize=11;
fontstyle="bold";
fontfamily="Arial ";
pagecolor="#FFFFFF";
fontweight="bold"
pagebgcolor="#005596";
headercolor="#000000";
headerbgcolor="#000000";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}
with(PageStyle=new mm_style()){
styleid=2;
onbgcolor="#005596";
oncolor="#FFFFFF";
offbgcolor="#FFFFFF";
offcolor="#005596";
bordercolor="#FFFFFF";
borderstyle="solid";
borderwidth="0";
separatorcolor="#005596";
separatorsize=1;
padding=5;
fontsize=11;
fontstyle="bold";
fontfamily="Arial ";
pagecolor="#FFFFFF";
fontweight="bold"
pagebgcolor="#005596";
headercolor="#000000";
headerbgcolor="#000000";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}
with(milonic=new menuname("header")){
style=menuStyle1;
top=10;
screenposition="center";
left="offset=120";
orientation="horizontal";
aI(image=/ul/menu/305x100spacer.gif;url=/ul/nmhag/KOTB-flier-8.08.pdf;target=_blank;");
}
with(milonic=new menuname("MainCI")){
style=menuStyle1;
top=125;
screenposition="center";
left="offset=120";
orientation="horizontal";
alwaysvisible=1;
aI("text=HOME;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=default;");
aI("text=Legislation;showmenu=legislation;");
aI("text=News;url=/nmhag/main.asp?PT=n_main&Client=nmhag;");
aI("text=Grassroots;showmenu=grassroots;");
aI("text=Officials;showmenu=officials;");
aI("text=Membership;showmenu=membership;");
aI("text=Admin;showmenu=admin;");
}
with(milonic=new menuname("Address")){
style=menuStyle4;
top=831;
screenposition="center";
left="offset=-318";
orientation="horizontal";
alwaysvisible=1;
aI("text=Mental Health America<br>of Georgia;");
}
with(milonic=new menuname("Address2")){
style=menuStyle5;
top=725;
screenposition="center";
left="offset=-318";
orientation="horizontal";
alwaysvisible=1;
aI("text=100 Edgewood Ave. NE<br>Suite 502<br>Atlanta, GA 30303-3068<br><br>404-527-7175<br>404-527-7187 (FAX)<br>1-800-933-9896<br><br><br>;");
}
with(milonic=new menuname("MainNMHAG")){
style=menuStyle3;
top=182;
screenposition="center";
left="offset=-320";
orientation="vertical";
alwaysvisible=1;
aI("text=Choose a page...;offbgcolor=#005596;offcolor=#FFFFFF;");
aI("text=HOME;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=default;");
aI("text=About MHA of Georgia;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=about_nmhag;");
aI("text=Board of Directors;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=board_admin;");
aI("text=DONATE NOW!;oncolor=#cc0000;offcolor=#cc0000;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=donate;");
aI("text=PROGRAMS;showmenu=projects;");
// aI("text=Community<br>Care / Support;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=ccs;");
aI("text=Public Policy &<br>Advocacy;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=ppa;");
aI("text=MHA of Georgia Affiliates;url=/nmhag/main.asp?RoutineCk=Display&PT=edit_pages&Page=affiliates&Client=nmhag;");
aI("text=Contact Us;url=/nmhag/main.asp?RoutineCk=Display&PT=edit_pages&Page=contact&Client=nmhag;");
aI("align=center;fontsize=11;text=<b>Upcoming Events</b>;offbgcolor=#005596;offcolor=#FFFFFF;onbgcolor=#005596;oncolor=#FFFFFF;");
aI("text=MHA of GA Events;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=teeoff2006;");
//aI("text=<font color=#FFFFFF>blank</font>;url=;");
//aI("text=REGISTER NOW;oncolor=#cc0000;offcolor=#cc0000;url=https://www.ciclt.net/ciprod/Events/Registration.asp?E=1434&Ty=&P=&EL=;");
//aI("text=<font color=#FFFFFF>blank</font>;url=;");
//aI("align=center;fontsize=11;text=<b>Multicultural Outreach<br>Programs</b>;offbgcolor=#005596;offcolor=#FFFFFF;onbgcolor=#005596;oncolor=#FFFFFF;");
//aI("text=Project HOPE;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=projhope;");
//aI("text=Rainbow Brigade;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=rainbowbrigade;");
//aI("text=Proyecto Esperanza;url=/nmhag/main.asp?RoutineCk=Display&PT=edit_pages&Page=proyectoesp&Client=nmhag;");
//aI("text=Proyecto Esperanza -<br>English;url=/nmhag/main.asp?RoutineCk=Display&PT=edit_pages&Page=proyectoesp_eng&Client=nmhag;");
//aI("text=<font color=#FFFFFF>blank</font>;url=;");
aI("align=center;fontsize=11;text=<b>Legislative Agenda</b>;offbgcolor=#005596;offcolor=#FFFFFF;onbgcolor=#005596;oncolor=#FFFFFF;");
aI("text=2008 Legislative Agenda;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=legagenda;");
//aI("text=<font color=#FFFFFF>blank</font>;url=;");
aI("align=center;fontsize=11;text=<b>Education Resources</b>;offbgcolor=#005596;offcolor=#FFFFFF;onbgcolor=#005596;oncolor=#FFFFFF;");
aI("text=Mental Health Library;url=/nmhag/main.asp?RoutineCk=Display&PT=edit_pages&Page=community_ed&Client=nmhag;");
aI("text=Mental Health Links;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=mhlinks;");
aI("text=NIMH Partnership<br>Program;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=NIMHPP;");
// aI("text=<font color=#FFFFFF>blank</font>;url=;");
// aI("align=center;fontsize=11;text=<b>Agency Brochures</b>;offbgcolor=#005596;offcolor=#FFFFFF;onbgcolor=#005596;oncolor=#FFFFFF;");
// aI("text=Agency Brochures;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=brochures;");
}
with(milonic=new menuname("projects")){
style=menuStyle;
aI("text=Project Healthy Moms: Perinatal Mood Disorders;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=Project_Healthy_Moms;");
aI("text=Project Veterans' Wellness;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=Project_Vet_Wellness;");
aI("text=Project Mental Wellness: General Mental Health;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=Project_Mental_Wellness;");
aI("text=Project Male Depression;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=Project_Male_Depression;");
aI("text=Project Healthcare Access: Mental Health & Primary Care;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=Project_Healthcare_Access;");
aI("text=Project Workplace: Mental Health in the Workplace;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=Project_Workplace;");
aI("text=Kids on the Block;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=kotb;");
}
with(milonic=new menuname("HelpNow")){
style=menuStyle3;
top=675;
screenposition="center";
left="offset=-320";
orientation="vertical";
alwaysvisible=1;
aI("text=Need Help Now?;offbgcolor=#FF0000;offcolor=#FFFFFF;url=/nmhag/main.asp?RoutineCk=Display&Client=nmhag&PT=edit_pages&Page=helpnow;");
}
with(milonic=new menuname("admin")){
style=menuStyle;
aI("text=Edit Pages;url=/nmhag/main.asp?PT=edit_pages&Client=nmhag;");
aI("text=Upload;url=/nmhag/main.asp?Client=nmhag&PT=file_upload;");
aI("text=Welcome;url=/nmhag/main.asp?PT=welcome&Client=nmhag;");
aI("text=Duplicate Emails;url=/nmhag/editpage.asp?PT=p_dup_emailck&Client=nmhag;");
aI("text=Help;url=/hlep/Georgia_track_legislative_tracking.htm;target=_blank;");
aI("text=Online Editor Help;url=/ul/sh/CI_Online_Editor.pdf;target=_blank;");
aI("text=Editor Help;url=/ul/sh/CI_Online_Editor.pdf;target=_blank;");
}
with(milonic=new menuname("grassroots")){
style=menuStyle;
aI("text=Join;url=/nmhag/main.asp?PT=join&Client=nmhag;");
aI("text=Login;url=/nmhag/main.asp?PT=login&Client=nmhag;");
}
with(milonic=new menuname("membership")){
style=menuStyle;
aI("text=People Overview;url=/nmhag/main.asp?PT=p_main&Client=nmhag;");
aI("text=Organizations Overview;url=/nmhag/main.asp?PT=o_main&Client=nmhag;");
}
with(milonic=new menuname("legislation")){
style=menuStyle;
aI("text=Overview Page;url=/nmhag/main.asp?PT=l_main&Client=nmhag;");
aI("text=Tracking Level;showmenu=track;");
aI("text=Bill Number;showmenu=billno;");
aI("text=Issues;showmenu=issues;");
aI("text=Structured Search;url=/nmhag/main.asp?PT=l_search&Client=nmhag;");
aI("text=New Bills;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=9&Type=TL&Title=New%20Bills;");
aI("text=Add Bills;url=/nmhag/main.asp?PT=l_lookup&Client=nmhag;");
}
with(milonic=new menuname("track")){
style=menuStyle;
opacity="99";
aI("text=Hot;align=center;itemwidth=100;offbgcolor=#FF0000;onbgcolor=#FF0000;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=1&Type=TL&Title=Hot;");
aI("text=Work;align=center;itemwidth=100;offbgcolor=#FF9900;onbgcolor=#FF9900;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=2&Type=TL&Title=Work;");
aI("text=Watch;align=center;itemwidth=100;offbgcolor=#FFFF00;onbgcolor=#FFFF00;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=3&Type=TL&Title=Watch;");
aI("text=Monitor;align=center;itemwidth=100;offbgcolor=#005596;onbgcolor=#005596;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=4&Type=TL&Title=Monitor;");
aI("text=Passed;align=center;itemwidth=100;offbgcolor=#339933;onbgcolor=#339933;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=5&Type=TL&Title=Passed;");
}
with(milonic=new menuname("billno")){
style=menuStyle;
opacity="99";
aI("text=House Bills;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=HB&Type=BT&Title=House%20Bills;");
aI("text=House Resolutions;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=HR&Type=BT&Title=House%20Resolutions;");
aI("text=Senate Bills;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=SB&Type=BT&Title=Senate%20Bills;");
aI("text=Senate Resolutions;url=/nmhag/main.asp?PT=l_list&Client=nmhag&SchStr=SR&Type=BT&Title=Senate%20Resolutions;");
}
with(milonic=new menuname("issues")){
style=menuStyle;
opacity="99";
aI("text=Issues - Health;url=/nmhag/main.asp?PT=l_list&Client=nmhag&Type=Code&SchStr=Health&Title=Issues%20-%20Health;");
aI("text=Issues - Mental Health;url=/nmhag/main.asp?PT=l_list&Client=nmhag&Type=Code&SchStr=mhealth&Title=Issues%20-%20Mental%20Health;");
}
with(milonic=new menuname("officials")){
style=menuStyle;
opacity="99";
aI("text=Statewide;showmenu=statewide;");
aI("text=Congress;showmenu=congress;");
aI("text=Senate;showmenu=senate;");
aI("text=House;showmenu=house;");
aI("text=County;url=/nmhag/main.asp?PT=pocty_list&Client=nmhag&FIPS=13;");
aI("text=District Lookup;url=/nmhag/main.asp?PT=po_lookup&Client=nmhag;");
aI("text=Birthday List;url=/nmhag/main.asp?PT=po_bdlist&Client=nmhag&State=ga;");
aI("text=GR Email;url=/nmhag/main.asp?PT=po_grem&Client=nmhag&State=ga;");
}
with(milonic=new menuname("statewide")){
style=menuStyle;
opacity="99";
aI("text=By Name;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=statewide&Title=Statewide%20by%20Name;");
aI("text=Democrats;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=statewide&Party=D&Title=Statewide%20Democrats;");
aI("text=Republicans;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=statewide&Party=R&Title=Statewide%20Republicans;");
}
with(milonic=new menuname("congress")){
style=menuStyle;
opacity="99";
aI("text=By Name;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=congress&Title=Congress%20by%20Name;");
aI("text=By District;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=congressdl&Title=Congress%20by%20District;");
aI("text=Democrats;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=congress&Party=D&Title=Congress%20-%20Democrats;");
aI("text=Republicans;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=congress&Party=R&Title=Congress%20-%2Republicans;");
}
with(milonic=new menuname("senate")){
style=menuStyle;
opacity="99";
aI("text=By Name;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=stsenate&Title=Senate%20by%20Name;");
aI("text=By District;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=stsenatedl&Title=Senate%20by%20District;");
aI("text=Democrats;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=stsenate&Party=D&Title=Senate%20by%20Name;");
aI("text=Republicans;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=stsenate&Party=R&Title=Senate%20by%20Name;");
aI("text=Committees;url=/nmhag/main.asp?PT=poc_list&Client=nmhag&State=ga&List=stsenate;");
}
with(milonic=new menuname("house")){
style=menuStyle;
opacity="99";
aI("text=By Name;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=sthouse&Title=House%20of%20Represenatives%20by%20Name;");
aI("text=By District;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=sthousedl&Title=House%20of%20Represenatives%20by%20District;");
aI("text=Democrats;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=sthouse&Party=D&Title=House%20of%20Represenatives%20by%20Name;");
aI("text=Republicans;url=/nmhag/main.asp?PT=po_list&Client=nmhag&State=ga&List=sthouse&Party=R&Title=House%20of%20Represenatives%20by%20Name;");
aI("text=Committees;url=/nmhag/main.asp?PT=poc_list&Client=nmhag&State=ga&List=sthouse;");
}
drawMenus();
Sorry if this is simple, but my mind cannot find the error.
Thanks-
Stuart
Re: generic menu fail
Poster: Ruth
Dated: Thursday September 4 2008 - 20:12:16 BST
Hi,
You are missing the quote at the beginning of this aI statement
Code:
aI(image=/ul/menu/305x100spacer.gif;url=/ul/nmhag/KOTB-flier-8.08.pdf;target=_blank;");
It should have aI("image=
Ruth
Re: generic menu fail
Poster: stuartharden
Dated: Thursday September 4 2008 - 20:15:45 BST
I knew it HAD to be simple, I was just out of it!
thanks!
Stuart