Results 1 to 4 of 4

Thread: Any Link Drop Down Menu - How to Position...

  1. #1
    Join Date
    Sep 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Any Link Drop Down Menu - How to Position...

    Hello

    I am using the drop down menu code found in the following location.

    http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    My question is how can I position the drop down menu since I have it appear when users roll over an image. For example, is you go to www.707bars.com and roll over the first two disco balls, you will see the drop down menus. I want to scoot them a centimeter to the rignt when they drop down. How can I do this?

    Thank you,
    ~D

  2. #2
    Join Date
    Sep 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Geee... How can I get help on this? :-o

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

    Default

    Well there isn't a cm measurement in browsers, so I'll use pixels instead. Try this. Locate the line:

    Code:
    dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
    and add a number to it to increase the horizontal offset of the menu, for example:

    Code:
    dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+10+"px"
    This will create a 10px offset.

  4. #4
    Join Date
    Sep 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thank You !!! :-)

    Perfect....

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
  •