PDA

View Full Version : AnyLink Drop Down Menu IE



telSTAR
09-09-2004, 10:37 AM
Script: AnyLink Drop Down Menu IE (http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm)

Hi

After copying the script correctly into a new HTML page I have hit a problem.

The drop down menu works a treat, except that i cannot change the width of the menu that drops down with a mouse rollover.

One of my links needs to accomodate a rather long title split into 3 words. What the script does is automatically wrap the text, so the link appears over 2 lines - which looks rubbish.

Can anyone help rectify the problem, so the menu list doesn't wrap the text link, please?

regards
telSTARhttp://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

ddadmin
09-14-2004, 04:20 AM
You should be able to modify the width of a particular drop down menu by changing the HTML code for it:


<a href="default.htm" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '150px')" onMouseout="delayhidemenu()">Web Design</a>
Instead of "150", simply pass in a different number...