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

HELP! Newbie with 5 - Flash Problems


Poster: whiskey3
Dated: Wednesday October 4 2006 - 5:37:29 BST

Link Here:

http://www.moldex.com/foamplugprod/sparkplugs4.htm

I can't figure out how to lose the seperator color...I don't wan't any seperator lines at all in my nav. And I added the flash fix to the bottom <\body> tag and added it to the .js menu and the menu still goes behind the flash object in Firefox? Also in Safari the nav apears to be right justified? Do I need to throw the nav in a table and center it so it will be centered in Safari also?

Below is my .js code......

Thanks,


Code:
if(ie55){
_miO=_d.getElementsByTagName("object");
for(var x=0;x<_miO.length;x++)_miO[x].outerHTML=_miO[x].outerHTML;
}

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


with(style1=new mm_style()){
offcolor="#000000";
offbgcolor="#4682B4";
oncolor="white";
onbgcolor="#4682B4";
bordercolor="#4682B4";
borderstyle="dashed";
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="4682B4";
separatorsize=0;
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&nbsp;;showmenu=products;separatorsize=25");
aI("text=Tech&nbsp;Info&nbsp;;showmenu=techinfo;separatorsize=25");
aI("text=Contact&nbsp;Us&nbsp;;showmenu=contact;separatorsize=20");
aI("text=Support&nbsp;;showmenu=support;separatorsize=20");
aI("text=Our&nbsp;Company&nbsp;;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();


Poster: Ruth
Dated: Wednesday October 4 2006 - 7:57:55 BST

Hi,

The separators are in the menus that are using style2 which has separator coding.

As to the flash, the search in the forum would give you a number of responses for the same thing.

http://www.milonic.com/forum/viewtopic. ... 8694#38694

http://www.milonic.com/forum/viewtopic. ... 7004#37004

Ruth


Poster: John
Dated: Wednesday October 4 2006 - 15:18:32 BST

Wolf, on another subject, please always use the code BBCode tags when posting code. You'll note a smiley in the middle of what you posted. If that had been in an area where we needed the actual code it would have delayed the process.


Poster: whiskey3
Dated: Wednesday October 4 2006 - 15:30:02 BST

Sorry for being lame but what is the BB Code?

Thanks John,


Poster: John
Dated: Wednesday October 4 2006 - 16:15:06 BST

The codes available are shown at the top of the message input box. In this case, [code]code here[/code] would be used.


Poster: kevin3442
Dated: Wednesday October 4 2006 - 16:33:09 BST

Wolf,

Re: the flash thing... I see that you've already got wmode set to transparent. Have you had it that way, or did you just now try it? To no good effect? If it's still a problem, try setting
Code:
fixMozillaZIndex = true;

at the top of your menu_data.js file, where the other global properties are set.

Hope that helps,

Kevin


Poster: whiskey3
Dated: Thursday October 5 2006 - 21:40:30 BST

Actually I just tried it now.....do I still need the Flash code or can I just use the fixMozillaZIndex = true; instead? The less code the better......


Poster: whiskey3
Dated: Thursday October 5 2006 - 23:55:07 BST

Thanks the fixMozillaZIndex = true; worked I think a lot nicer than having to replace the flash code for all my flash objects.....