Results 1 to 3 of 3

Thread: AnyLink Height Adjustment??

  1. #1
    Join Date
    Jul 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question AnyLink Height Adjustment??

    1) Script Title:
    Any Link Drop Down

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    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.

    Dennis

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    You can increase the vertical offset of the drop down menu by editting the below line in the .js file:

    Code:
    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).

  3. #3
    Join Date
    Jul 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •