Results 1 to 3 of 3

Thread: AnyLink Vertical Menu

  1. #1
    Join Date
    Nov 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink Vertical Menu

    Yes Hello. I need some help with the flyout menu. When the menu flys out, it is covering some of the orgnial text on the vertical menu.

    So I want to know if the FlyOut Box can fly out more over to the right of the sceen.

    Example from the demo:
    Dynamic Drive
    JavaScript Kit
    CSS Drive
    Coding Forums

    When i hover on the Dynamic Drive option, the sub menu that flys out cover some of the text such as JavaScript Kit, CSS Drive and so on

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Different question, same answer (see this thread):

    http://www.dynamicdrive.com/forums/s...0486#post20486

    The line you are looking for is:

    Code:
    dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+horizontaloffset+"px"
    Either change it to a set left offset for all:

    Code:
    dropmenuobj.style.left="200px"
    or add an adjustment, pushing all menus over an additional amount:

    Code:
    dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+horizontaloffset+50+"px"
    Numbers in red are just suggested values, try it out and see if other numbers might be better.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Nov 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thanks Alot

    Thanks Alot men, it worked perfectly. I used 143 value instead of to make it aligned exactly how i wanted... Thanks one more time and have a good day

    Alex aka WebGuy

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
  •