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

Please help! Conversion from 3.0 to 5.0 Problems


Poster: whiskey3
Dated: Friday September 29 2006 - 1:37:49 BST

My older 3.0 menu is here:
http://moldex.com/unitedstatesproducts.htm

Conversion is here:
http://moldex.com/newnav/index.htm

How do I lose the MILONIC on the left of the nav bar? Also how do I change the nav color to be #66CCFF?

Also I want to lose those blue and yellow bands....basically make it look exactly like my older 3.0 nav but with a background color change.....if you need my .js file I can email it.

Sorry I'm lame but it has been too long for me to upgrade but now it is time....the converter didn't work too well and it has been a long time since I edited this thing....damn memory!!!


Poster: whiskey3
Dated: Friday September 29 2006 - 2:09:07 BST

I just did a newer conversion today and it seemed to fix iteslf better than the older one i did awhile ago....

New conversion is here:
http://moldex.com/newnav/index.htm

I think I should be okay to tweak from here now.....


Poster: Ruth
Dated: Friday September 29 2006 - 5:11:20 BST

Hi,

When you use your purchased licensed version the Milonic link will disappear.

This is the file based on your old menu_array file plus the color changed you wanted. I also removed the extra semi-colons that were put into the items. I made some changes which make things easier. You might take a look at them to see how they are used.

1. I made a copyOf second style and put in separatorsize=1;separatorcolor="#66CCFF"; then applied that style in the menus where you had coded the separatorsize=1. copyOf will copy the style which is listed and only change whatever you've put in the copyOf as different.

2. I put in overfilter and outfilter, though I blocked using // the outfilter since I didn't know if you wanted to use an outfilter or not. These only work in IE.

3. I removed alignment="left"; in the new menu it is align, not alignment and in the new menu the default align is left.

4. I removed left= in the main menu. Because you have screenposition="center"; in IE the menu was being centered and then shifted left from the center that number of left= pixels.

I put in both offbgcolor and onbgcolor even though they are the same and bordercolor and style leaving the size as 0. And I removed the low and high 3d since that put a separator into the items.

Code:
_menuCloseDelay=500;
_menuOpenDelay=150;
_scrollAmount=3;
_scrollDelay=20;
_followSpeed=5;
_followRate=40;
_subOffsetTop=10;
_subOffsetLeft=0;


with(style1=new mm_style()){
offcolor="#000000";
offbgcolor="#66CCFF";
oncolor="#0000FF";
onbgcolor="#66CCFF";
bordercolor="#66CCFF";
borderstyle="solid";
borderwidth=0;
fontsize=11;
fontstyle="normal";
fontweight="bold";
fontfamily="Verdana, Arial";
padding=4;
subimage="arrow.gif";
//high3dcolor="#33CCFF";
//low3dcolor="#000099";
headercolor="#ffffff";
headerbgcolor="#000099";
separatorcolor="#66CCFF";
separatorsize=1;
overfilter="Fade(duration=0.2);Alpha(opacity=88);Shadow(color=#777777', Direction=135, Strength=5)";
//outfilter="randomdissolve(duration=0.3)";
}

style2=new copyOf(style1);
style2.separatorsize=1;
style2.separatorcolor="#66CCFF";

with(milonic=new menuname("mainmenu")){
top=87;
//left=450;
screenposition="center";
style=style1;
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://www.moldex.com/unitedstatesproducts.htm;separatorsize=25");
aI("text=Products ;showmenu=products;separatorsize=25");
aI("text=Tech Info ;showmenu=techinfo;separatorsize=25");
aI("text=Contact Us ;showmenu=contact;separatorsize=20");
aI("text=Support ;showmenu=support;separatorsize=20");
aI("text=Our Company ;showmenu=ourcompany;separatorsize=20");
aI("text=Search;url=http://www.moldex.com/search.htm;separatorsize=20");
}

with(milonic=new menuname("products")){
itemwidth=210;
style=style2;
aI("text=Hearing Protection;showmenu=hearingprotection;");
aI("text=Respiratory Protection;showmenu=respprotection;");
aI("text=Accessories;url=http://www.moldex.com/accessories.htm;");
aI("text=What's New;url=http://www.moldex.com/whatsnew.htm;");
aI("text=Competitive Cross References;url=http://www.moldex.com/compcrossreference.htm;");
aI("text=Image Downloads;url=ftp://ftp.moldex.com;");
aI("text=Literature Downloads;url=http://www.moldex.com/literaturedownloads.htm;");
aI("text=Request Samples & Literature;url=http://www.moldex.com/requestsamples.htm;");
}

with(milonic=new menuname("hearingprotection")){
itemwidth=110;
style=style1;
alignment="left";
aI("text=Foam Plugs;url=http://www.moldex.com/foamplugs.htm;");
aI("text=Reusable Plugs;url=http://www.moldex.com/reusableplugs.htm;");
aI("text=Muffs;url=http://www.moldex.com/muffs.htm;");
aI("text=Bands;url=http://www.moldex.com/bands.htm;");
}

with(milonic=new menuname("respprotection")){
itemwidth=90;
style=style1;
alignment="left";
aI("text=Disposables;url=http://www.moldex.com/disposablerespirators.htm;");
aI("text=8000 Series;url=http://www.moldex.com/8000series.htm;");
}

with(milonic=new menuname("techinfo")){
itemwidth=210;
style=style2;
aI("text=CBRN Warning;url=http://www.moldex.com/pdfs/misc/CBRN_warning.pdf;");
aI("text=Chemical Selection Guide;url=http://www.moldex.com/chemicalselectionguide.htm;");
aI("text=Competitive Cross References;url=http://www.moldex.com/compcrossreference.htm;");
aI("text=FAQ's;url=http://www.moldex.com/faqs.htm;");
aI("text=Fit Testing;url=http://www.moldex.com/fittesting.htm;");
aI("text=Fitting Instructions;url=http://www.moldex.com/fittinginstructions.htm;");
aI("text=Links;url=http://www.moldex.com/links.htm;");
aI("text=MSDS's;url=http://www.moldex.com/msds.htm;");
aI("text=Tech Briefs;url=http://www.moldex.com/techbriefs.htm;");
}

with(milonic=new menuname("contact")){
itemwidth=180;
style=style2;
aI("text=sales __at__ moldex.com;url=sales __at__ moldex.com;");
aI("text=Corporate Office;showmenu=corporate;");
aI("text=Distributor Locator;url=http://www.moldex.com/distributorlocator.htm;");
aI("text=United States Sales Reps;url=http://www.moldex.com/unitedstatessalesreps.htm;");
aI("text=International Sales Reps;url=http://www.moldex.com/internationalsalesreps.htm;");
aI("text=Suggestion Box;url=http://www.moldex.com/suggestionbox.htm;");
}

with(milonic=new menuname("corporate")){
itemwidth=160;
style=style1;
alignment="left";
aI("text=Accounting;url=http://www.moldex.com/corporateoffice/accounting.htm;");
aI("text=Customer Support;url=http://www.moldex.com/corporateoffice/customersupport.htm;");
aI("text=Key Contacts;url=http://www.moldex.com/corporateoffice/keycontacts.htm;");
aI("text=Marketing;url=http://www.moldex.com/corporateoffice/marketing.htm;");
aI("text=Technical Services;url=http://www.moldex.com/corporateoffice/technicalservices.htm;");
aI("text=Becoming a Distributor;url=http://www.moldex.com/corporateoffice/becomingadistributor.htm;");
}

with(milonic=new menuname("support")){
itemwidth=140;
style=style1;
aI("text=Distributor Tools;url=http://www.moldex.com/distributortools.htm;");
aI("text=Training Resources;url=http://www.moldex.com/trainingresources.htm;");
}

with(milonic=new menuname("ourcompany")){
itemwidth=160;
style=style1;
aI("text=About Us;url=http://www.moldex.com/aboutus.htm;");
aI("text=Limited Warranty;url=http://www.moldex.com/limitedwarranty.htm;");
aI("text=Worldwide Websites;showmenu=worldwidewebsites;");
}

with(milonic=new menuname("worldwidewebsites")){
itemwidth=120;
style=style1;
alignment="left";
aI("text=Australia;url=http://www.moldex.com/australia/australianproducts.htm;");
aI("text=Brazil;url=http://www.moldex.com/brazil/brazilianproducts.htm;");
aI("text=Canada;url=http://www.moldex.com/canada/canadianproducts.htm;");
aI("text=Czech Republic;url=http://www.moldex-europe.com;");
aI("text=France;url=http://www.moldex-europe.com;");
aI("text=Germany;url=http://www.moldex-europe.com;");
aI("text=Israel;url=http://www.moldex.com/unitedstatesproducts.htm;");
aI("text=Italy;url=http://www.moldex-europe.com;");
aI("text=Japan;url=http://www.moldex.com/unitedstatesproducts.htm;");
aI("text=Mexico;url=http://www.moldex.com/spanish/spanishproducts.htm;");
aI("text=Netherlands;url=http://www.moldex-europe.com;");
aI("text=New Zealand;url=http://www.moldex.com/australia/australianproducts.htm;");
aI("text=South America;url=http://www.moldex.com/spanish/spanishproducts.htm;");
aI("text=Spain;url=http://www.moldex-europe.com;");
aI("text=Sweden;url=http://www.moldex-europe.com;");
aI("text=United Kingdom;url=http://www.moldex-europe.com;");
aI("text=United States;url=http://www.moldex.com/unitedstatesproducts.htm;");
}

drawMenus();


Ruth


Poster: whiskey3
Dated: Friday September 29 2006 - 11:26:39 BST

Thanks a bunch this looks beautiful and is the style I was looking for. I appreciate your time....you rock! ;-)