View Full Version : AnyLink Height Adjustment??

07-31-2007, 05:02 AM
1) Script Title:
Any Link Drop Down

2) Script URL (on DD):

3) Describe problem:
I really love the AnyLink script, but I cannot adjust the distance it exists from the link it attaches to. See tis link: http://boom.thetical.com/home.php

If you roll over "studio" or "furniture", you will see that the dropdown is very close to the text. My question:

Is there a way to adjust the spacing vertically without opening a gap that will instantly roll off of the drop down (this is what I have been able to produce). Maybe creating a blank link at the top, and styling it separately?

Any help will be greatly appreciated.


07-31-2007, 06:31 AM
You can increase the vertical offset of the drop down menu by editting the below line in the .js file:

dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+10+"px"

The "10" in this case would move the menu 10 pixels down. But as you've mentioned, moving it too much would cause the drop down menu to disappear when the mouse moves over this gap. You can try creating a blank menu item and edit the .css file so the default border around the entire menu is removed, and adjusted to only surround the second menu item and downwards (not the first).

07-31-2007, 02:39 PM