View Full Version : Can't change width of Menu

08-20-2006, 07:10 PM
1) Script Title: AnyLink Drop Down Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) Describe problem: Cannot change the width of the outer part of the menu.
I changed the "#dropmenudiv a{width: 100%;" part and that got the inside part the way I want it
but no matter what I do to the "var menuwidth='165px' //default menu width" it doesn't do anything. Right now it looks like this:
I want to get that outside part the same width as the rest.


08-20-2006, 08:25 PM
Leave the "#dropmenudiv a{width: 100%;" part alone. Adjusting the default width will only have an effect if you do not specify an individual width here (red):

<a href="default2.htm" onClick="return dropdownmenu(this, event, menu2, '200px')" onMouseout="delayhidemenu()">News Sites</a>

If you are using the above parameter with your trigger link, it will control the width.

08-20-2006, 09:14 PM
That worked.