HELP! Newbie with 5 - Flash Problems

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
whiskey3
Super Advanced
Super Advanced
Posts: 79
Joined: Fri Jul 18, 2003 8:47 pm

HELP! Newbie with 5 - Flash Problems

Post by whiskey3 »

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: Select all

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@moldex.com;url=mailto:sales@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();
Wolf
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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.

viewtopic. ... 8694#38694

viewtopic. ... 7004#37004

Ruth
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
User avatar
whiskey3
Super Advanced
Super Advanced
Posts: 79
Joined: Fri Jul 18, 2003 8:47 pm

Post by whiskey3 »

Sorry for being lame but what is the BB Code?

Thanks John,
Wolf
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

The codes available are shown at the top of the message input box. In this case, [code]code here[/code] would be used.
John
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

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: Select all

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

Hope that helps,

Kevin
User avatar
whiskey3
Super Advanced
Super Advanced
Posts: 79
Joined: Fri Jul 18, 2003 8:47 pm

Post by whiskey3 »

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......
Wolf
User avatar
whiskey3
Super Advanced
Super Advanced
Posts: 79
Joined: Fri Jul 18, 2003 8:47 pm

Post by whiskey3 »

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