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

two different menus - one file


Poster: wetclay
Dated: Wednesday January 12 2005 - 11:05:27 GMT

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)
Quote:
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/calvary2004folder/calvary2004/index.htm/;status=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/calvary2004folder/calvary2004/calendar.htm;");
aI("text=Contact;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/contactUs.htm;");
}

with(milonic=new menuname("AboutUs")){
style=menuStyle;
overflow="scroll";
aI("text=Welcome;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/welcome.htm;");
aI("text=What To Expect;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/what2expect.htm;");
aI("text=Directions;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/directions.htm;");
aI("text=Beliefs;showmenu=Beliefs;");
aI("text=Our Story;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/ourPast.htm;");
aI("text=Staff;showmenu=Staff;");
aI("text=Sermon Archive;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/sermonArchive.htm;");
}

with(milonic=new menuname("Beliefs")){
style=menuStyle;
aI("text=Doctrine;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/doctrinalBeliefs.htm;");
aI("text=Our Purpose;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/PD_church2be.htm;");
aI("text=Our Motto;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/ourMotto.htm;");
aI("text=Our Mission;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/ourMission.htm;");
aI("text=Our Vision;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/ourVision.htm;");
aI("text=Our Values;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/ourValues.htm;");
}

with(milonic=new menuname("Staff")){
style=menuStyle;
aI("text=Senior Pastor;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/staff_pastor.htm;");
aI("text=Dir. of Membership;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/staff_dir-membership.htm;");
aI("text=Dir. of Student Ministries;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/staff_dir-youth.htm;");
aI("text=Dir. of Children's Ministries;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/staff_dir-children.htm;");
aI("text=Dir. of Management;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/staff_dir-management.htm;");
aI("text=Worship Leader;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/staff_worshipLeader.htm;");
}

with(milonic=new menuname("Sevices")){
style=menuStyle;
aI("text=Service Times;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/serviceInfo_adults.htm;");
aI("text=The Table;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/serviceInfo_table.htm;");
aI("text=Kids Service;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/serviceInfo_kidzone.htm;");
aI("text=Youth Service;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/serviceInfo_youth.htm;");
aI("text=Directions;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/directions.htm;");
}

with(milonic=new menuname("Ministries")){
style=menuStyle;
aI("text=Home Teams;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/homeTeams.htm;");
aI("text=Recovery;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/recovery.htm;");
aI("text=Men;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/men.htm;");
aI("text=Women;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/women.htm;");
aI("text=Youth;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/overview_youth.htm;");
aI("text=Children;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/overview_kidz.htm;");
aI("text=Infants;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/overview_infants.htm;");
}

with(milonic=new menuname("Questions")){
style=menuStyle;
aI("text=Know God;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/like2_knowGod.htm;");
aI("text=Find a Home Team;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/like2_findGroup.htm;");
aI("text=Learn about Baptism;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/like2_baptism.htm;");
aI("text=Understand Spiritual Gifts;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/like2_spiritualGifts.htm;");
aI("text=Understand Tithing;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/like2_tithing.htm;");
aI("text=Listen to a Message;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/sermonArchive.htm;");
aI("text=Request an Email Account;url=http://www.wetclaywebdesign.com/calvary2004folder/calvary2004/like2_emailAccount.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://www.milonic.com/login.php;");
aI("text=Licenses;url=http://www.milonic.com/mylicenses.php;");
aI("text=Invoices;url=http://www.milonic.com/myinvoices.php;");
aI("text=Make Support Request;url=http://www.milonic.com/reqsupport.php;");
aI("text=View Support Requests;url=http://www.milonic.com/mysupport.php;");
aI("text=Your Details;url=http://www.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!


Poster: Ruth
Dated: Wednesday January 12 2005 - 17:23:33 GMT

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


Poster: kevin3442
Dated: Wednesday January 12 2005 - 17:51:34 GMT

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


Poster: wetclay
Dated: Thursday January 13 2005 - 21:56:27 GMT

thanks, font sizing issue resolved.