I am having some serious issues I am hoping someone may be able to assist with. I am a newbie, to be sure.
I have added a nice vertical menu to my secondary navigation bar on my homepage. I think it turned out perfect for our purposes and am very glad with the outcome.
http://www.faithadopt.org/
However, I cannot for the life of me get the menu on to any, and I mean ANY, of the other pages on the website. As an example, I placed the exact same script in for this page: http://www.faithadopt.org/home/penpal/ and it will not work. Every page I attach the same script, it fails with an error message. I have exhausted every effort I can come up with and still am hitting a brick wall.
Not sure if this is easily remedied- please excuse my nascent vocabulary when it comes to this stuff.
Any help is appreciated.
Best, Eric
Below is the text of the menu code I am using (all other files-mmenudom.js, milonic_src.js, etc- were left unchanged from their original state. Am now using version 5_728 as of today with no change in the problem):
Code: Select all
_menuCloseDelay=1000;
_menuOpenDelay=150;
_subOffsetTop=5;
_subOffsetLeft=-5;
with(menuStyle=new mm_style()){
bordercolor="#fdca97";
borderstyle="ridge";
borderwidth=2;
offbordercolor="#fdca97";
onbordercolor="#996633";
fontfamily="Verdana, Arial, Helvatica";
fontsize="85%";
fontstyle="normal";
headerbgcolor="#996633";
headercolor="#000000";
offbgcolor="#996633";
offcolor="#fdca97";
onbgcolor="#fdca97";
oncolor="#996633";
ondecoration='underline';
outfilter="randomdissolve(duration=0.2)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=10)";
padding=5;
pagebgcolor="#996633";
pagecolor="fdca97";
separatorcolor="#fdca97";
separatorsize=2;
subimage="db_red3.gif";
subimagealign="left";
subimagepadding=1;
position="relative";
followscroll=1;
}
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=125;
style=menuStyle;
top=230;
itemwidth=20;
itemheight=30;
followscroll=1;
position="relative";
aI("status=Back To Home Page;text=Home;url=http://www.faithadopt.org;");
aI("showmenu=Programs;text=Programs;");
aI("showmenu=Adoption Steps;text=Adoption Steps;");
aI("showmenu=What's New;text=What's New;");
aI("showmenu=Photos;text=Photos;");
aI("showmenu=Relief Work;text=Relief Work;");
aI("showmenu=Faith Families;text=Faith Families;");
aI("showmenu=Resources;text=Resources;");
aI("status=Contact Us;text=Contact Us;url=http://www.faithadopt.org/home/contact;");
}
with(milonic=new menuname("Programs")){
style=menuStyle;
aI("showmenu=China;status=China;text=China;");
aI("showmenu=Vietnam;status=Vietnam;text=Vietnam;");
aI("showmenu=Nepal;status=Nepal;text=Nepal;");
aI("showmenu=Panama;status=Panama;text=Panama;");
}
with(milonic=new menuname("China")){
style=menuStyle;
aI("text=China Program;url=http://www.faithadopt.org/home/programs/china;");
aI("text=China Program FAQ;url=http://www.faithadopt.org/home/programs/china/faq/;");
aI("text=China Singles Info;url=http://www.faithadopt.org/home/programs/chinasingles/faq/;");
aI("showmenu=China Special Needs Program;status=China Special Needs Program;text=China Special Needs Program;");
aI("text=CCAA;url=http://www.faithadopt.org/home/ccaa;");
aI("text=China Pen Pal Program;url=http://www.faithadopt.org/home/penpal/;");
aI("text=Haddick Family Trip 2004;url=http://www.faithadopt.org/home/haddick/;");
}
with(milonic=new menuname("China Special Needs Program")){
style=menuStyle;
aI("text=China Special Needs FAQ;url=http://www.faithadopt.org/home/programs/chinaspecialneeds/faq/;");
aI("text=China Special Needs Children;url=http://www.faithadopt.org/home/programs/chinaspecialneeds/children;");
}
with(milonic=new menuname("Vietnam")){
style=menuStyle;
aI("text=Vietnam Program;url=http://www.faithadopt.org/home/programs/vietnam;");
aI("text=Vietnam Program FAQ;url=http://www.faithadopt.org/home/programs/vietnam/faq/;");
}
with(milonic=new menuname("Nepal")){
style=menuStyle;
aI("text=Nepal Program;url=http://www.faithadopt.org/home/programs/nepal;");
aI("text=Nepal Program FAQ;url=http://www.faithadopt.org/home/programs/nepal/faq/;");
aI("text=Nepal Child Sponsorship;url=http://www.faithadopt.org/home/programs/nepal/sponsor;");
}
with(milonic=new menuname("Panama")){
style=menuStyle;
aI("text=Panama Program;url=http://www.faithadopt.org/home/programs/panama;");
aI("text=Panama Program FAQ;url=http://www.faithadopt.org/home/programs/panama/faq/;");
}
with(milonic=new menuname("Adoption Steps")){
style=menuStyle;
aI("text=Adoption Steps;url=http://www.faithadopt.org/home/adoptionsteps/;");
aI("text=Adoption Forms;url=http://www.faithadopt.org/home/forms/;");
}
with(milonic=new menuname("What's New")){
style=menuStyle;
aI("text=What's New;url=http://www.faithadopt.org/home/whatsnew/;");
aI("text=What's New China;url=http://www.faithadopt.org/home/whatsnew/?f=china&nid=0&full=true;");
aI("text=What's New Vietnam;url=http://www.faithadopt.org/home/whatsnew/?f=vietnam&nid=0&full=true;");
aI("text=What's New Nepal;url=http://www.faithadopt.org/home/whatsnew/?f=nepal&nid=0&full=true;");
aI("text=What's New Panama;url=http://www.faithadopt.org/home/whatsnew/?f=panama&nid=0&full=true;");
}
with(milonic=new menuname("Photos")){
style=menuStyle;
aI("text=Photos page 1;url=http://www.faithadopt.org/home/photos1/;");
aI("text=Photos page 2;url=http://www.faithadopt.org/home/photos2/;");
aI("text=Photos page 3;url=http://www.faithadopt.org/home/photos3/;");
aI("text=Photos page 4;url=http://www.faithadopt.org/home/photos4/;");
aI("text=Photos page 5;url=http://www.faithadopt.org/home/photos5/;");
aI("text=Photos page 6;url=http://www.faithadopt.org/home/photos6/;");
aI("text=Photos page 7;url=http://www.faithadopt.org/home/photos7/;");
aI("text=Photos page 8;url=http://www.faithadopt.org/home/photos8/;");
aI("text=Photos page 9;url=http://www.faithadopt.org/home/photos9/;");
aI("text=Photos page 10;url=http://www.faithadopt.org/home/photos10/;");
}
with(milonic=new menuname("Relief Work")){
style=menuStyle;
aI("text=Relief Work page 1;url=http://www.faithadopt.org/home/relief;");
aI("text=Relief Work page 2;url=http://www.faithadopt.org/home/relief2;");
aI("showmenu=Sri Lanka orphan relief;status=Sri Lanka;text=Sri Lanka Relief Work;");
}
with(milonic=new menuname("Sri Lanka orphan relief")){
style=menuStyle;
aI("text=Overview;url=http://www.faithadopt.org/home/tsunami/;");
aI("text=Updates;url=http://www.faithadopt.org/home/tsunami/updates;");
aI("text=Photos;url=http://www.faithadopt.org/home/tsunami/photos;");
aI("text=Donors;url=http://www.faithadopt.org/home/tsunami/donors;");
aI("text=Relief projects;url=http://www.faithadopt.org/home/tsunami/relief;");
aI("text=Faith in the news;url=http://www.faithadopt.org/home/tsunami/news;");
}
with(milonic=new menuname("Faith Families")){
style=menuStyle;
aI("text=Faith Families;url=http://www.faithadopt.org/home/families;");
aI("text=Testimonials;url=http://www.faithadopt.org/home/testimonials;");
}
with(milonic=new menuname("Resources")){
overflow="scroll";
style=menuStyle;
aI("status=To Resource Page;text=Resource Page;url=http://www.faithadopt.org/home/resources;");
aI("showmenu=General;text=General;");
aI("showmenu=Books;text=Books;");
aI("showmenu=Book and Cultural Gift Catologs;text=Book and Cultural Gift Catologs;");
aI("showmenu=Magazines;text=Magazines;");
aI("showmenu=Organizations;text=Organizations;");
aI("showmenu=Advocacy and Intercountry Adoption Information;text=Advocacy and Intercountry Adoption Information;");
aI("showmenu=Government;text=Government;");
aI("showmenu=Puget Sound Area Resources;text=Puget Sound Area Resources;");
aI("showmenu=Chicago Area Resources;text=Chicago Area Resources;");
aI("showmenu=Faith Family Resources;text=Faith Family Resources Area Resources;");
}
with(milonic=new menuname("General")){
style=menuStyle;
aI("text=Faith Families;url=http://www.faithadopt.org/home/families;");
aI("text=Testimonials;url=http://www.faithadopt.org/home/testimonials;");
}
with(milonic=new menuname("Books")){
style=menuStyle;
aI("text=Faith Families;url=http://www.faithadopt.org/home/families;");
aI("text=Testimonials;url=http://www.faithadopt.org/home/testimonials;");
}
with(milonic=new menuname("Book and Cultural Gift Catalogs")){
style=menuStyle;
aI("text=Faith Families;url=http://www.faithadopt.org/home/families;");
aI("text=Testimonials;url=http://www.faithadopt.org/home/testimonials;");
}
with(milonic=new menuname("Magazines")){
style=menuStyle;
aI("text=Faith Families;url=http://www.faithadopt.org/home/families;");
aI("text=Testimonials;url=http://www.faithadopt.org/home/testimonials;");
}
with(milonic=new menuname("Organizations")){
style=menuStyle;
aI("text=Faith Families;url=http://www.faithadopt.org/home/families;");
aI("text=Testimonials;url=http://www.faithadopt.org/home/testimonials;");
}
with(milonic=new menuname("Advocacy and Intercountry Adoption Information")){
style=menuStyle;
aI("text=Faith Families;url=http://www.faithadopt.org/home/families;");
aI("text=Testimonials;url=http://www.faithadopt.org/home/testimonials;");
}
with(milonic=new menuname("Government")){
style=menuStyle;
aI("text=Faith Families;url=http://www.faithadopt.org/home/families;");
aI("text=Testimonials;url=http://www.faithadopt.org/home/testimonials;");
}
with(milonic=new menuname("Puget Sound Area Resources")){
style=menuStyle;
aI("text=Faith Families;url=http://www.faithadopt.org/home/families;");
aI("text=Testimonials;url=http://www.faithadopt.org/home/testimonials;");
}
with(milonic=new menuname("Chicago Area Resources")){
style=menuStyle;
aI("text=Faith Families;url=http://www.faithadopt.org/home/families;");
aI("text=Testimonials;url=http://www.faithadopt.org/home/testimonials;");
}
with(milonic=new menuname("Faith Family Resources")){
style=menuStyle;
aI("text=Faith Families;url=http://www.faithadopt.org/home/families;");
aI("text=Testimonials;url=http://www.faithadopt.org/home/testimonials;");
}
drawMenus();