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

help with table menu


Poster: Surfergirl
Dated: Thursday April 12 2007 - 19:35:43 BST

Hi there

I can't figure out why embedding the menu isn't working. Please help me see my error.
Web page is http://pinecay.com/index1.htm

mainmenu.js is :

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
position="relative";


aI("image=/Milonic/menu/pc2home-off.gif;overimage=/Milonic/menu/pc2home-on.gif;showmenu=home;text=Meridian Club Home;");
aI("image=/Milonic/menu/pc2about_off.gif;overimage=/Milonic/menu/pc2about_on.gif;showmenu=home;text=About the Meridian Club on Pine Cay;");
aI("image=/Milonic/menu/pc2accommodation_off.gif;overimage=/Milonic/menu/pc2accommodation_on.gif;showmenu=home;text=Meridian Club Accomomdation;");
aI("image=/Milonic/menu/pc2activities_off.gif;overimage=/Milonic/menu/pc2activities_on.gif;showmenu=home;text=Meridian Club Accomomdation;");
aI("image=/Milonic/menu/pc2dining_off.gif;overimage=/Milonic/menu/pc2dining_on.gif;showmenu=home;text=Dining on Pine Cay;");
aI("image=/Milonic/menu/pc2wedding_off.gif;overimage=/Milonic/menu/pc2wedding_on.gif;showmenu=home;text=Weddings and Honeymoons on Pine Cay;");
aI("image=/Milonic/menu/pc2inquiries_off.gif;overimage=/Milonic/menu/pc2inquiries_on.gif;showmenu=home;text=Inquire to the Meridian Club on Pine Cay;");
}
drawMenus();

menu_data.js is:


fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;




with(menuStyle=new mm_style()){
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#DCE9F0";
offcolor="#515151";
onbgcolor="#4F8EB6";
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=1;
subimage="http://www.milonic.com/menuimages/arrow.gif";
subimagepadding=2;
}

with(milonic=new menuname("about")){
style=menuStyle;
aI("text=(aq) Web Hosting;url=http://www.a-q.co.uk/;");
aI("text=SMS 2 Email;url=http://www.sms2email.com/;");
aI("text=WebSmith;url=http://www.softidiom.com/;");
}

with(milonic=new menuname("accommodation")){
style=menuStyle;
aI("text=Apache Web Server;url=http://www.apache.org/;");
aI("text=MySQL Database Server;url=http://ww.mysql.com/;");
aI("text=PHP - Development;url=http://www.php.net/;");
aI("text=phpBB Web Forum System;url=http://www.phpbb.net/;");
aI("showmenu=Anti Spam;text=Anti Spam Tools;");
}

with(milonic=new menuname("activities")){
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("dining")){
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("weddings")){
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("inquiries")){
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/;");
}
drawMenus();

thank you as always :)


Poster: Ruth
Dated: Thursday April 12 2007 - 20:00:23 BST

Hi,

One of your Milonic program files has become corrupted. You need to upload the milonic_src.js, mmenudom.js and mmenuns4.js files again.

Also, are you aware that the main menu is really really long since you have both images and text in each item? It goes way beyond the right side of your layout. Did you mean to have the text= in the aI or did you want title= so that you'd get a box with what the item is, like an alt tag in a link?

Ruth


Poster: Surfergirl
Dated: Thursday April 12 2007 - 20:41:32 BST

Thank you Ruth! Big grins to you.
I didn't know about the text/title nomenclature. This is good news. Thanks again