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: Saturday July 14 2012 - 06:07:12

mainmenu text is hidden


Poster: bator
Dated: Tuesday September 16 2003 - 22:39:52 BST

Ok - now I have a new problem (I'm kinda new at this....)
from some reason the text in the top menu is half-missing - the sub-menus show up when you're over the menu but the text doesn't show.
Here's the script

/*
DHTML Menu version 3.3.19
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.
This script featured on Dynamic Drive (http://www.dynamicdrive.com)
*/

//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
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
effect = "Fade(duration=0.2);Alpha(style=0,opacity=95);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}


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=230; // Sub menu offset Left position

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.
"white", // Mouse Off Font Color
"80736D", // Mouse Off Background Color
"white", // Mouse On Font Color
"80736D", // Mouse On Background Color
"000000", // Menu Border Color
14, // Font Size in pixels
"normal", // Font Style (italic or normal)
"bold", // Font Weight (bold or normal)
"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
"Purple", // Current Page Item Font Color (leave this blank to disable)
"pink", // Current Page Item Background Color (leave this blank to disable)
"", // 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)
]

stylecoffee=["white","3D79F9","3D79F9","white","000000",12,"normal","bold", "Arial",4, "arrow.gif",,"66ffff", "000099","Purple", "pink","", "ffffff","000099",]
stylerest=["white","73A0FF","73A0FF","white","000000",12,"normal","bold", "Arial",4, "arrow.gif",,"66ffff", "000099","Purple", "pink","", "ffffff","000099",]
stylebar=["white","ADC6FD","black","ADC6FD","000000",12,"normal","bold", "Arial",4, "arrow.gif",,"66ffff", "000099","Purple", "pink","", "ffffff","000099",]
styledelivery=["black","FDF6AD","white","FDF6AD","000000",12,"normal","bold","Arial",4,"arrow.gif",,"66ffff","000099","Purple","pink","", "ffffff","000099",]
stylehotel=["white","F2C752","F2C752","white","000000",12,"normal","bold", "Arial",4, "arrow.gif",,"66ffff", "000099","Purple", "pink","", "ffffff","000099",]
stylecontact=["white","FFBA00","FFBA00","white","000000",12,"normal","bold", "Arial",4, "arrow.gif",,"66ffff", "000099","Purple", "pink","", "ffffff","000099",]


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
70, // Menu Top - The Top position of the menu in pixels
0, // Menu Left - The Left position of the menu in pixels
120, // Menu Width - Menus width in pixels
1, // Menu Border Width
"center", // 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)
"center", // Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect, // Filter - Text variable for setting transitional effects on menu activation - see above for more info
0, // Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, // 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)
1, // 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)
, // Reserved for future use
, // Reserved for future use
, // Reserved for future use
,"צור קשר","show-menu=contact",,"",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"מלונות","show-menu=hotels",,"",1
,"משלוחים","show-menu=delivery",,"",1
,"בארים ופאבים","show-menu=bar",,"",1
,"מסעדות","show-menu=rest",,"",1
,"בתי קפה","show-menu=coffee",,"",1
])



addmenu(menu=["coffee",
,,120,1,"",stylecoffee,,"right",effect,,,,,,1,,,,,,
,"לפי מיקום","show-menu=sub-coffee-location",,,1
,"לפי סוג","show-menu=sub-coffee-cat",,,1
])


addmenu(menu=["sub-coffee-location",
,,110,1,"",stylecoffee,,"right",effect,,,,,,1,,,,,,
,"צפון תל אביב","http://www.cnn.com",,,1
,"מרכז תל אביב","http://www.msnbc.com",,,1
,"דרום תל אביב","http://www.abcnews.com",,,1
])


addmenu(menu=["sub-coffee-cat",
,,110,1,"",stylecoffee,,"right",effect,,,,,,1,,,,,,
,"שירות עצמי","http://www.cnn.com",,,1
,"רשתות","http://www.news.com",,,1
,"אינטימיים","http://www.wired.com",,,1
,"קפה-בר","http://www.slashdot.com",,,1
])

addmenu(menu=["rest",
,,120,1,"",stylerest,,"right",effect,,,,,,1,,,,,,
,"לפי מיקום","show-menu=sub-rest-location",,,1
,"לפי סוג","show-menu=sub-rest-cat",,,1
])


addmenu(menu=["sub-rest-location",
,,110,1,"",stylerest,,"right",effect,,,,,,1,,,,,,
,"צפון תל אביב","http://www.cnn.com",,,1
,"מרכז תל אביב","http://www.msnbc.com",,,1
,"דרום תל אביב","http://www.abcnews.com",,,1
])


addmenu(menu=["sub-rest-cat",
,,110,1,"",stylerest,,"right",effect,,,,,,1,,,,,,
,"שירות עצמי","http://www.cnn.com",,,1
,"רשתות","http://www.news.com",,,1
,"אינטימיים","http://www.wired.com",,,1
,"קפה-בר","http://www.slashdot.com",,,1
])


addmenu(menu=["bar",
,,120,1,"",stylebar,,"right",effect,,,,,,1,,,,,,
,"לפי מיקום","show-menu=sub-bar-location",,,1
,"לפי סוג","show-menu=sub-bar-cat",,,1
])


addmenu(menu=["sub-bar-location",
,,110,1,"",stylebar,,"right",effect,,,,,,1,,,,,,
,"צפון תל אביב","http://www.cnn.com",,,1
,"מרכז תל אביב","http://www.msnbc.com",,,1
,"דרום תל אביב","http://www.abcnews.com",,,1
])


addmenu(menu=["sub-bar-cat",
,,110,1,"",stylebar,,"right",effect,,,,,,1,,,,,,
,"שירות עצמי","http://www.cnn.com",,,1
,"רשתות","http://www.news.com",,,1
,"אינטימיים","http://www.wired.com",,,1
,"קפה-בר","http://www.slashdot.com",,,1
])

addmenu(menu=["delivery",
,,120,1,"",styledelivery,,"right",effect,,,,,,1,,,,,,
,"לפי איזור חלוקה","show-menu=sub-delivery-location",,,1
,"לפי סוג","show-menu=sub-delivery-cat",,,1
])


addmenu(menu=["sub-delivery-location",
,,110,1,"",styledelivery,,"right",effect,,,,,,1,,,,,,
,"צפון תל אביב","http://www.cnn.com",,,1
,"מרכז תל אביב","http://www.msnbc.com",,,1
,"דרום תל אביב","http://www.abcnews.com",,,1
])


addmenu(menu=["sub-delivery-cat",
,,110,1,"",styledelivery,,"right",effect,,,,,,1,,,,,,
,"שירות עצמי","http://www.cnn.com",,,1
,"רשתות","http://www.news.com",,,1
,"אינטימיים","http://www.wired.com",,,1
,"קפה-בר","http://www.slashdot.com",,,1
])

addmenu(menu=["hotels",
,,120,1,"",stylehotel,,"right",effect,,,,,,1,,,,,,
,"לפי איזור חלוקה","show-menu=sub-hotel-location",,,1
,"לפי סוג","show-menu=sub-hotel-cat",,,1
])


addmenu(menu=["sub-hotel-location",
,,110,1,"",stylehotel,,"right",effect,,,,,,1,,,,,,
,"צפון תל אביב","http://www.cnn.com",,,1
,"מרכז תל אביב","http://www.msnbc.com",,,1
,"דרום תל אביב","http://www.abcnews.com",,,1
])


addmenu(menu=["sub-hotel-cat",
,,110,1,"",stylehotel,,"right",effect,,,,,,1,,,,,,
,"אכסניות ובתי הארחה","http://www.cnn.com",,,1
,"עד שלושה כוכבים","http://www.news.com",,,1
,"ארבעה כוכבים","http://www.wired.com",,,1
,"חמישה כוכבים","http://www.slashdot.com",,,1
])



addmenu(menu=["contact",
,,110,1,"",stylecontact,,"center",effect,,,,,,1,,,,,,
,"מי אנחנו", "http://www.google.com",,,1
,"בעל עסק", "http://www.yahoo.com",,,1
,"פרטים ליצירת קשר", "http://altavista.com",,,1
,"טופס ליצירת קשר", "http://www.excite.com",,,1
])

dumpmenus()


and thanks again!


Poster: John
Dated: Tuesday September 16 2003 - 23:01:34 BST

The very first thing you need to do is upgrade! The current (and last) version in the v3 series is 3.5.15, which puts you 20+ levels down. As v3 is officially no longer supported, a move up to v5 would actually be better.


Poster: Hergio
Dated: Wednesday September 17 2003 - 3:39:53 BST

Agreed, also its tough to really grasp the problem you are seeing without seeing it ourselves. Do you have a URL so we may view it?

here's the url


Poster: bator
Dated: Wednesday September 17 2003 - 10:59:53 BST

http://www.ophirasutton.com/telavivcity/menu.htm

thanks!


Poster: Hergio
Dated: Wednesday September 17 2003 - 12:57:38 BST

Two answer your two questions, you have a flash file on the page. DO a search for flash transparent and wmode and you should find your solution to making the menu appear over the flash file.

Second, I think the reason your text is getting cut off is you have the menu width set...if you remove that it will let the menu expand so all the text shows. You have it set to 120 which may not be enough for some of the menu's text. Take it out or increase it, see what happens.

Lastly, I would again recommend upgrading.