Results 1 to 2 of 2

Thread: Change Position of menu in Java Script

  1. #1
    Join Date
    Jun 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Change Position of menu in Java Script

    1) Script Title:
    Flex Level Popup Menu (v1.1)

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamicindex1/popupmenu.htm

    3) Describe problem:
    does any one know how to change the java script so that the menu only appears to the right side of the text? Currently it is set up so that where ever you hover the menu pops up and drops down right there, with in the space of the whatever link you attach it to. I believe I found where in the .js file the XY are controlled but I am not familiar enough with Java to re-word so that the menu pops out at a specified place (i.e. at the end of what ever bit of text the jqpopupmenu tag is attached to)

    I have tried in CSS to change the position form "relative" to a specified location and it moves the menu but it makes the whole thing really funky.

    Thanks so much for your help!

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

    Default

    Seems like you're looking for Flex Level Drop Down Menu instead. Look at the second demo on that page, which shows a drop down menu that's positioned squarely to the right of the anchor text.
    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
  •