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: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:21

Works in IE & Opera, but not in Mozilla (Netscape/AOL)


Poster: barad
Dated: Thursday October 10 2002 - 14:58:28 BST

I have a simple menu that I'm trying to insert in the left hand column of OSC (Open Source Commerce - formally known as TEP). The code is simple (see below for details of the menu_array.js file) and I just changed the array values from the sample code.

When I insert it, it doesn't show up at all (i.e. it's in the source, but not rendered) in Mozilla (and therefore, I assume Netscape/AOL).

Suggestions? Does Mozilla have trouble with this inside of a table? I think that the left hand column might be constructed from a table... no?

Haim


/*
Milonic DHTML Website Navigation Menu - Version 3.5
Written by Andy Woolley - Copyright 2002 (c) Milonic Solutions Limited. All Rights Reserved.
Please visit http://www.milonic.co.uk/menu or e-mail menu3 __at__ milonic.com for more information.

The Free use of this menu is only available to Non-Profit, Educational & Personal web sites.
Commercial and Corporate licenses are available for use on all other web sites & Intranets.
All Copyright notices MUST remain in place at ALL times and, please keep us informed of your
intentions to use the menu and send us your URL.
*/


//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.



////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"


timegap=500 // The time delay for menus to remain visible
followspeed=5 // Follow Scrolling speed
followrate=40 // Follow Scrolling Rate
suboffset_top=10; // Sub menu offset Top position
suboffset_left=10; // Sub menu offset Left position
closeOnClick = true

style1=[ // style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"Purple", // Mouse Off Font Color
"#FFCC00", // Mouse Off Background Color
"ffebdc", // Mouse On Font Color
"4b0082", // Mouse On Background Color
"Green", // Menu Border Color
12, // Font Size in pixels
"normal", // Font Style (italic or normal)
"bold", // Font Weight (bold or normal)
"Verdana, Arial", // Font Name
4, // Menu Item Padding
"arrow.gif", // Sub Menu Image (Leave this blank if not needed)
, // 3D Border & Separator bar
"66ffff", // 3D High Color
"000099", // 3D Low Color
"Blue", // Current Page Item Font Color (leave this blank to disable)
"yellow", // Current Page Item Background Color (leave this blank to disable)
"arrowdn.gif", // Top Bar image (Leave this blank to disable)
"ffffff", // Menu Header Font Color (Leave blank if headers are not needed)
"000099", // Menu Header Background Color (Leave blank if headers are not needed)
"navy", // Menu Item Separator Color
]


addmenu(menu=[ // This is the array that contains your menu properties and details
"mainmenu", // Menu Name - This is needed in order for the menu to be called
150, // Menu Top - The Top position of the menu in pixels
1, // Menu Left - The Left position of the menu in pixels
, // Menu Width - Menus width in pixels
1, // Menu Border Width
, // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1, // Properties Array - this is set higher up, as above
1, // Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left", // Alignment - sets the menu elements text alignment, values valid here are: left, right or center
, // Filter - Text variable for setting transitional effects on menu activation - see above for more info
, // Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0, // Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
, // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
, // Position of TOP sub image left:center:right
, // Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
, // Right To Left - Used in Hebrew for example. (1=on/0=off)
, // Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
, // ID of the div you want to hide on MouseOver (useful for hiding form elements)
, // Background image for menu when BGColor set to transparent.
, // Scrollable Menu
, // Reserved for future use
,"Home","http://mardigraszone.com/retail",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Beads&nbsp;&nbsp;","show-menu=beads","http://www.mardigraszone.com/retail/default.php/cPath/59","Mardi Gras Zone Beads!!!",1
,"Gift Ideas!&nbsp;&nbsp;","show-menu=giftideas","http://www.mardigraszone.com/retail/default.php/cPath/64","",1
,"Party Supplies&nbsp;&nbsp;","show-menu=partysupplies","http://www.mardigraszone.com/retail/default.php/cPath/63","Party Supplies!",1
,"Dress Up&nbsp;&nbsp;","show-menu=dressup","http://www.mardigraszone.com/retail/default.php/cPath/60","Dress Up!",1
,"Delicacies&nbsp;&nbsp;","show-menu=delicacies","http://www.mardigraszone.com/retail/default.php/cPath/62","Delicacies!",1
,"Holiday Items&nbsp;&nbsp;","show-menu=holidayitems","http://www.mardigraszone.com/retail/default.php/cPath/61","Holiday Items!",1
,"Mardi Gras Collectables&nbsp;&nbsp;","show-menu=mardigrascollectables","http://www.mardigraszone.com/retail/default.php/cPath/65","Mardi Gras Collectables!",1
])


addmenu(menu=["beads",
,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
,"Big Beads","http://www.mardigraszone.com/retail/default.php/cPath/59_1",,"Big Beads!",1
,"Fancy &amp; Gift Beads","http://www.mardigraszone.com/retail/default.php/cPath/59_3",,"Fancy &amp; Gift Beads!",1
,"Hot Beads","http://www.mardigraszone.com/retail/default.php/cPath/59_4",,"Hot Beads!",1
,"Casino Beads","http://www.mardigraszone.com/retail/default.php/cPath/59_58",,"Casino Beads!",1
,"Custom Beads","http://www.mardigraszone.com/retail/custom_beads.php",,"Design Your Own Custom Made Beads!",1
,"Jazzy Beads","http://www.mardigraszone.com/retail/default.php/cPath/59_5",,"Jazzy Beads!",1
,"Jester Beads","http://www.mardigraszone.com/retail/default.php/cPath/59_6",,"Jester Beads!",1
,"Millenium Series Beads","http://www.mardigraszone.com/retail/default.php/cPath/59_7",,"Millenium Series Beads!",1
,"New Beads","http://www.mardigraszone.com/retail/default.php/cPath/59_8",,"New Beads!",1
,"Nudie Beads","http://www.mardigraszone.com/retail/default.php/cPath/59_9",,"Nudie Beads!",1
,"Throw Beads","http://www.mardigraszone.com/retail/default.php/cPath/59_10",,"Throw Beads!",1
])

addmenu(menu=["giftideas",
,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
,"Have a Cigar","http://www.mardigraszone.com/retail/default.php/cPath/64_24",,"Have a Cigar!",1
,"Hip Flasks","http://www.mardigraszone.com/retail/default.php/cPath/64_25",,"Hip Flasks!",1

,"Stone Power Bracelets","http://www.mardigraszone.com/retail/default.php/cPath/64_30",,"Stone Power Bracelets!",1
])


addmenu(menu=["partysupplies",
,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
,"Party Pax!","http://www.mardigraszone.com/retail/default.php/cPath/63_18",,"Party Pax!",1
,"Mardi Gras Decorations","http://www.mardigraszone.com/retail/default.php/cPath/63_45",,"Mardi Gras Decorations!",1
,"Mardi Gras Zone Invitations","http://www.mardigraszone.com/retail/default.php/cPath/63_52",,"Mardi Gras Zone Invitations!",1
])


addmenu(menu=["dressup",
,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
,"Fancy Feather Masks","http://www.mardigraszone.com/retail/default.php/cPath/60_12",,"Fancy Feather Masks!",1
,"Peacock Masks","http://www.mardigraszone.com/retail/default.php/cPath/60_16",,"Peacock Masks!",1
,"Muse Masks","http://www.mardigraszone.com/retail/default.php/cPath/60_15",,"Muse Masks!",1
,"Sequin Masks","http://www.mardigraszone.com/retail/default.php/cPath/60_17",,"Sequin Masks!",1
,"Feather Boa","http://www.mardigraszone.com/retail/default.php/cPath/60_20",,"Feather Boa!",1
,"Two Tone Feather Boa","http://www.mardigraszone.com/retail/default.php/cPath/60_20",,"Two Tone Feather Boa!",1
,"Angel Wings","http://www.mardigraszone.com/retail/default.php/cPath/60_23",,"Angel Wings!",1
,"Party Hats","http://www.mardigraszone.com/retail/default.php/cPath/60_27",,"Party Hats!",1
,"New Orleans T-Shirts","http://www.mardigraszone.com/retail/default.php/cPath/60_29",,"New Orleans T-Shirts!",1
,"Vests & Hats","http://www.mardigraszone.com/retail/default.php/cPath/60_31",,"Vests & Hats!",1
,"Wild Packs","http://www.mardigraszone.com/retail/default.php/cPath/60_41",,"Wild Packs!",1
,"Mardi Gras Hand Painted T-Shirts","http://www.mardigraszone.com/retail/default.php/cPath/60_44",,"Mardi Gras Hand Painted T-Shirts!",1
,"Mardi Gras Bracelets","http://www.mardigraszone.com/retail/default.php/cPath/60_46",,"Mardi Gras Bracelets!",1
,"Mardi Gras Zone Wigs","http://www.mardigraszone.com/retail/default.php/cPath/60_47",,"Mardi Gras Zone Wigs!",1
])


addmenu(menu=["delicacies",
,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
,"Food & Drink","http://www.mardigraszone.com/retail/default.php/cPath/62_19",,"Food & Drink!",1
,"New Orleans Coffie","http://www.mardigraszone.com/retail/default.php/cPath/62_54",,"New Orleans Coffie!",1
,"Wall Of Fire Hot Sauce","http://www.mardigraszone.com/retail/default.php/cPath/62_51",,"Wall Of Fire Hot Sauce!",1
])


addmenu(menu=["holidayitems",
,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
,"Halloween Items","http://www.mardigraszone.com/retail/default.php/cPath/61_22",,"Halloween Items!",1
,"Patriotic Items","http://www.mardigraszone.com/retail/default.php/cPath/61_49",,"Patriotic Items!",1
])


addmenu(menu=["mardigrascollectables",
,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
,"Ceramic Masks","http://www.mardigraszone.com/retail/default.php/cPath/65_11",,"Ceramic Masks!",1
,"Jazz & Mardi Gras Posters","http://www.mardigraszone.com/retail/default.php/cPath/65_26",,"Jazz & Mardi Gras Posters!",1
,"Mardi Gras Pins & Earings","http://www.mardigraszone.com/retail/default.php/cPath/65_42",,"Mardi Gras Pins & Earings!",1
,"Mardi Gras Dolls","http://www.mardigraszone.com/retail/default.php/cPath/65_43",,"Mardi Gras Dolls!",1
])


dumpmenus()