two different menus - one file

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
wetclay
Advanced
Advanced
Posts: 11
Joined: Tue Jan 11, 2005 3:09 am

two different menus - one file

Post by wetclay »

now i'm really confused.

here is a page that i'm planning on using as an "include"
http://www.wetclaywebdesign.com/calvary ... icMenu.htm

here is a test page:
http://www.wetclaywebdesign.com/calvary ... ect_copy(1).htm

I'm calling from the same menu_data.js file (see below)
with(menuStyle=new mm_style()){
onbgcolor="#336699";
oncolor="#cccccc";
offbgcolor="#cccccc";
offcolor="#336699";
bordercolor="#ffffff";
borderstyle="solid";
borderwidth=0;
separatorcolor="#336699";
separatorsize="1";
padding=3;
fontsize="100%";
fontstyle="normal";
fontfamily="Verdana";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=0)";
outfilter="randomdissolve(duration=0.3)";
}


with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=270;
left=150;
menuwidth=549;
menuheight=13;
align='center';
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://www.wetclaywebdesign.com/calvary ... tatus=Back To Home Page;");
aI("text=About Us;showmenu=AboutUs;");
aI("text=Services;showmenu=Sevices;");
aI("text=Ministries;showmenu=Ministries;");
aI("text=Questions;showmenu=Questions;");
aI("text=Calendar;url=http://www.wetclaywebdesign.com/calvary ... lendar.htm;");
aI("text=Contact;url=http://www.wetclaywebdesign.com/calvary ... tactUs.htm;");
}

with(milonic=new menuname("AboutUs")){
style=menuStyle;
overflow="scroll";
aI("text=Welcome;url=http://www.wetclaywebdesign.com/calvary ... elcome.htm;");
aI("text=What To Expect;url=http://www.wetclaywebdesign.com/calvary ... expect.htm;");
aI("text=Directions;url=http://www.wetclaywebdesign.com/calvary ... ctions.htm;");
aI("text=Beliefs;showmenu=Beliefs;");
aI("text=Our Story;url=http://www.wetclaywebdesign.com/calvary ... urPast.htm;");
aI("text=Staff;showmenu=Staff;");
aI("text=Sermon Archive;url=http://www.wetclaywebdesign.com/calvary ... rchive.htm;");
}

with(milonic=new menuname("Beliefs")){
style=menuStyle;
aI("text=Doctrine;url=http://www.wetclaywebdesign.com/calvary ... eliefs.htm;");
aI("text=Our Purpose;url=http://www.wetclaywebdesign.com/calvary ... rch2be.htm;");
aI("text=Our Motto;url=http://www.wetclaywebdesign.com/calvary ... rMotto.htm;");
aI("text=Our Mission;url=http://www.wetclaywebdesign.com/calvary ... ission.htm;");
aI("text=Our Vision;url=http://www.wetclaywebdesign.com/calvary ... Vision.htm;");
aI("text=Our Values;url=http://www.wetclaywebdesign.com/calvary ... Values.htm;");
}

with(milonic=new menuname("Staff")){
style=menuStyle;
aI("text=Senior Pastor;url=http://www.wetclaywebdesign.com/calvary ... pastor.htm;");
aI("text=Dir. of Membership;url=http://www.wetclaywebdesign.com/calvary ... ership.htm;");
aI("text=Dir. of Student Ministries;url=http://www.wetclaywebdesign.com/calvary ... -youth.htm;");
aI("text=Dir. of Children's Ministries;url=http://www.wetclaywebdesign.com/calvary ... ildren.htm;");
aI("text=Dir. of Management;url=http://www.wetclaywebdesign.com/calvary ... gement.htm;");
aI("text=Worship Leader;url=http://www.wetclaywebdesign.com/calvary ... Leader.htm;");
}

with(milonic=new menuname("Sevices")){
style=menuStyle;
aI("text=Service Times;url=http://www.wetclaywebdesign.com/calvary ... adults.htm;");
aI("text=The Table;url=http://www.wetclaywebdesign.com/calvary ... _table.htm;");
aI("text=Kids Service;url=http://www.wetclaywebdesign.com/calvary ... idzone.htm;");
aI("text=Youth Service;url=http://www.wetclaywebdesign.com/calvary ... _youth.htm;");
aI("text=Directions;url=http://www.wetclaywebdesign.com/calvary ... ctions.htm;");
}

with(milonic=new menuname("Ministries")){
style=menuStyle;
aI("text=Home Teams;url=http://www.wetclaywebdesign.com/calvary ... eTeams.htm;");
aI("text=Recovery;url=http://www.wetclaywebdesign.com/calvary ... covery.htm;");
aI("text=Men;url=http://www.wetclaywebdesign.com/calvary ... 04/men.htm;");
aI("text=Women;url=http://www.wetclaywebdesign.com/calvary ... /women.htm;");
aI("text=Youth;url=http://www.wetclaywebdesign.com/calvary ... _youth.htm;");
aI("text=Children;url=http://www.wetclaywebdesign.com/calvary ... w_kidz.htm;");
aI("text=Infants;url=http://www.wetclaywebdesign.com/calvary ... nfants.htm;");
}

with(milonic=new menuname("Questions")){
style=menuStyle;
aI("text=Know God;url=http://www.wetclaywebdesign.com/calvary ... nowGod.htm;");
aI("text=Find a Home Team;url=http://www.wetclaywebdesign.com/calvary ... dGroup.htm;");
aI("text=Learn about Baptism;url=http://www.wetclaywebdesign.com/calvary ... aptism.htm;");
aI("text=Understand Spiritual Gifts;url=http://www.wetclaywebdesign.com/calvary ... lGifts.htm;");
aI("text=Understand Tithing;url=http://www.wetclaywebdesign.com/calvary ... ithing.htm;");
aI("text=Listen to a Message;url=http://www.wetclaywebdesign.com/calvary ... rchive.htm;");
aI("text=Request an Email Account;url=http://www.wetclaywebdesign.com/calvary ... ccount.htm;");
}

with(milonic=new menuname("Anti Spam")){
style=menuStyle;
aI("text=Spam Cop;url=http://www.spamcop.net/;");
aI("text=Mime Defang;url=http://www.mimedefang.org/;");
aI("text=Spam Assassin;url=http://www.spamassassin.org/;");
}

with(milonic=new menuname("MyMilonic")){
style=menuStyle;
margin=20;
aI("text=Login;url=http://milonic.com/login.php;");
aI("text=Licenses;url=http://milonic.com/mylicenses.php;");
aI("text=Invoices;url=http://milonic.com/myinvoices.php;");
aI("text=Make Support Request;url=http://milonic.com/reqsupport.php;");
aI("text=View Support Requests;url=http://milonic.com/mysupport.php;");
aI("text=Your Details;url=http://milonic.com/mydetails.php;");
}

drawMenus();


why are they different?

and why is there a break in the separators on the test page? and i just noticed that the break goes away if you refresh the page....very strange!
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I'm not seeing any difference, unless you mean that it looks like the separator doesn't go high enough? If that is what you mean, if you put a border around the menu for testing you'll see the separators are the full height of the menu. The extra space you're seeing is part of that table cell background color.

Ruth
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Only difference I see is in the font size of the menu items. That's probably because you have fontsize="100%" in your menuStyle. You could use a px or pt size instead, if you prefer. Regarding the separator break you mentioned... I don't see it either (in IE6/WinXP). What browser/OS are you using?

Kevin
wetclay
Advanced
Advanced
Posts: 11
Joined: Tue Jan 11, 2005 3:09 am

Post by wetclay »

thanks, font sizing issue resolved.
Post Reply