Results 1 to 2 of 2

Thread: Moving Box to the Right?

  1. #1
    Join Date
    Jan 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Moving Box to the Right?

    1) Script Title: Any Link Dropdown Menu

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

    3) Describe problem: On my website, I'm trying to move the drop-down menu so it aligns with that tiny blue line.



    I looked into the CSS and anylinkmenu.js files, but could not find it. Does anyone know where it's located in? Thanks!

  2. #2
    Join Date
    Aug 2004
    Posts
    9,903
    Thanks
    3
    Thanked 967 Times in 955 Posts
    Blog Entries
    15

    Default

    You can manually increase or decrease the horizontal offset of the drop down menu by editing the line in red below inside anylinkmenu.js:

    Code:
    var posx=menu.anchorobj._offsets.left + (menu.orientation=="lr"? this.dimensions.anchorw-5 : 0) //base x pos
    The extra "-5" in this case causes the menu to move left 5 pixels.
    DD Admin

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
  •