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

Scroll bar appearing in IE6


Poster: David
Dated: Thursday December 19 2002 - 13:44:12 GMT

Hi everyone,
I am using Version 3.5.10 which seems to work fine on most Browsers/OS that I've tried. However, on Windows ME Internet Explorer 6 (Version 6.0.2600.0000IS) there is a tiny operating system scroll bar appearing. Screenshot at http://www.brandxmedia.co.uk/milonic.htm

Anyone seen this before? Is this an Browser/OS issue, or have I messed the code up?

I'd appreciate someone help. Thanks Guys.

Code:
/*
Milonic DHTML Menu
Written by Andy Woolley
Copyright 2002 (c) Milonic Solutions. All Rights Reserved.
Plase vist http://www.milonic.co.uk/menu or e-mail menu3 __at__ milonic.com
You may use this menu on your web site free of charge as long as you place prominent links to http://www.milonic.co.uk/menu and
your inform us of your intentions with your URL AND ALL copyright notices remain in place in all files including your home page
Comercial support contracts are available on request if you cannot comply with the above rules.

Please note that major changes to this file have been made and is not compatible with earlier versions..

You no longer need to number your menus as in previous versions.
The new menu structure allows you to name the menu instead. This means that you can remove menus and not break the system.
The structure should also be much easier to modify, add & remove menus and menu items.

If you are having difficulty with the menu please read the FAQ at http://www.milonic.co.uk/menu/faq.php before contacting us.

Please note that the above text CAN be erased if you wish as long as copyright notices remain in place.
*/

//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE.
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 you have more than one _array.js file



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


PlainStyle=[                  // PlainStyle is an array of properties. You can have as many property arrays as you need
"000000",                       // Mouse Off Font Color
"transparent",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"6279A3",                     // Mouse On Font Color
"transparent",                     // Mouse On Background Color
"000000",                     // Menu Border Color
"11",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"bold",                       // Font Weight (bold or normal)
"verdana,arial,helvetica,sans",          // Font Name
4,                            // Menu Item Padding or spacing
"images/submenu_arrow.gif",                 // Sub Menu Image (Leave this blank if not needed)
,                            // 3D Border & Separator bar
,                     // 3D High Color
,                     // 3D Low Color
,                     // Current Page Item Font Color (leave this blank to disable)
,                       // Current Page Item Background Color (leave this blank to disable)
,                             // Top Bar image (Leave this blank to disable)
,                     // Menu Header Font Color (Leave blank if headers are not needed)
,                     // Menu Header Background Color (Leave blank if headers are not needed)
"000000",                             // Menu Item Separator Color
]


SubMenuStyle=[               // An array of properties. You can have as many property arrays as you need
"ffffff",                    // Mouse Off Font Color
"6279A3",                    // Mouse Off Background Color (use zero for transparent in Netscape 6)
"000000",                    // Mouse On Font Color
"ffffff",                    // Mouse On Background Color
"000000",                    // Menu Border Color
"11",                        // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                    // Font Style (italic or normal)
"bold",                     // Font Weight (bold or normal)
"verdana,arial,helvetica,sans",// Font Name
2,                           // Menu Item Padding or spacing
"images/submenu_arrow.gif",  // Sub Menu Image (Leave this blank if not needed)
,                           // 3D Border & Separator bar
,                      // 3D High Color
,                            // 3D Low Color
,                            // Current Page Item Font Color (leave this blank to disable)
,                           // Current Page Item Background Color (leave this blank to disable)
,                            // Top Bar image (Leave this blank to disable)
,                            // Menu Header Font Color (Leave blank if headers are not needed)
,                            // Menu Header Background Color (Leave blank if headers are not needed)
,                            // Menu Item Separator Color
]


addmenu(menu=[
"Mainmenu",                   // Menu Name - This is needed in order for this menu to be called
0,                          // Menu Top - The Top position of this menu in pixels
20,                          // Menu Left - The Left position of this menu in pixels
,                             // Menu Width - Menus width in pixels
,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
PlainStyle,                  // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
"center",                             // Alignment - sets this 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 Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
1,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"Company","/menu/",,,0
,"Contacts","/menu/",,,0
,"Software","show-menu=Software","software_index.asp",,0 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Accessories","show-menu=Accessories","accessories_index.asp",,0
,"Retailers","/menu/",,,0
,"Press Room","/menu/",,,0
,"Newsletter","/menu/",,,0
,"Support","/menu/",,,0
])


addmenu(menu=[
"Software",
,
,
180,
1,
,
SubMenuStyle,
0,
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Platform","show-menu=SoftPlatformmenu","software_platform_index.asp",,1
,"Publisher","show-menu=SoftPublishersmenu","software_publisher_index.asp",,1
,"All Software","software_index.asp",,,1
,"Release Schedule","release_schedule.asp",,,1
])


addmenu(menu=[
"Accessories",
,
,
180,
1,
,
SubMenuStyle,
0,
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Platform","show-menu=AccPlatformmenu","accessories_platform_index.asp",,1
,"Publisher","show-menu=AccPublishersmenu","accessories_publisher_index.asp",,1
,"Category","show-menu=AccCategorymenu","accessories_category_index.asp",,1
,"All Accessories","accessories_index.asp",,,1
])



addmenu(menu=[
"AccCategorymenu",
,
,
180,
1,
,
SubMenuStyle,
0,
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Accessory Packs","category.asp?category=accessorypacks",,,1
,"Connectivity","category.asp?category=connectivity",,,1
,"Controllers","category.asp?category=controllers",,,1
,"Guns","category.asp?category=guns",,,1
,"Lighting","category.asp?category=lighting",,,1
,"Memory","category.asp?category=memory",,,1
,"Multimedia","category.asp?category=multimedia",,,1
,"Multitaps","category.asp?category=multitaps",,,1
,"Portability","category.asp?category=portability",,,1
,"Power","category.asp?category=power",,,1
,"Protection","category.asp?category=protection",,,1
,"Storage","category.asp?category=storage",,,1
,"Wheels","category.asp?category=wheels",,,1
])


addmenu(menu=[
"AccPlatformmenu",
,
,
180,
1,
,
SubMenuStyle,
0,
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Sony PlayStation&reg; 2","accessories.asp?platform=sonyplaystation2",,,1
,"Sony PlayStation&reg;","accessories.asp?platform=sonyplaystation",,,1
,"Nintendo GameCube&trade;","accessories.asp?platform=nintendogamecube",,,1
,"Microsoft Xbox&trade;","accessories.asp?platform=microsoftxbox",,,1
,"PC","accessories.asp?platform=pc",,,1
,"Nintendo GameBoy&reg; Advance","accessories.asp?platform=nintendogameboyadvance",,,1
])


addmenu(menu=[
"SoftPlatformmenu",
,
,
180,
1,
,
SubMenuStyle,
0,
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Sony PlayStation&reg; 2","software.asp?platform=sonyplaystation2",,,1
,"Sony PlayStation&reg;","software.asp?platform=sonyplaystation",,,1
,"Nintendo GameCube&trade;","software.asp?platform=nintendogamecube",,,1
,"Microsoft Xbox&trade;","software.asp?platform=microsoftxbox",,,1
,"PC","software.asp?platform=pc",,,1
,"Nintendo GameBoy&reg; Advance","software.asp?platform=nintendogameboyadvance",,,1
])

addmenu(menu=[
"SoftPublishersmenu",
,
,
180,
1,
,
SubMenuStyle,
0,
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Age Tec","publisher.asp?division=software&publisher=agetec",,,1
,"Ascaron Entertainment GmbH","publisher.asp?division=software&publisher=ascaron",,,1
,"Bigben Interactive","publisher.asp?division=software&publisher=bigben",,,1
,"IROCK Entertainment","publisher.asp?division=software&publisher=irock",,,1
,"Jester Interactive","publisher.asp?division=software&publisher=jester",,,1
,"Light &amp; Shadow Productions","publisher.asp?division=software&publisher=light",,,1
,"Kemco Europe","publisher.asp?division=software&publisher=kemcoeurope",,,1
,"Project 3 Interactive","publisher.asp?division=software&publisher=project3interactive",,,1
,"Sammy Europe Limited","publisher.asp?division=software&publisher=sammyeurope",,,1
,"Silver Style Entertainment","publisher.asp?division=software&publisher=silverstyle",,,1
,"Swing! Entert __at__ inment Media AG","publisher.asp?division=software&publisher=swing",,,1
])

addmenu(menu=[
"AccPublishersmenu",
,
,
180,
1,
,
SubMenuStyle,
0,
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"4Gamers","publisher.asp?division=accessories&publisher=4Gamers",,,1
])

dumpmenus();