Results 1 to 3 of 3

Thread: Is Flex Level DD Menu limited to anchors?

  1. #1
    Join Date
    Apr 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Is Flex Level DD Menu limited to anchors?

    1) Script Title: Flex Level Drop Down Menu

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

    3) Describe problem: The documentation says the Flex Level Drop Down Menu is for adding menu to "any link" on a page. The menu will appear below or to the right "of the anchor element."

    But is the menu really limited to use with anchors? Could the JQuery function be, for example,
    $('span.mylinks').addflexmenu('flexmenu1')
    instead of
    $('a.mylinks').addflexmenu('flexmenu1')
    ?

  2. #2
    Join Date
    Apr 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It seems to work, but then the browser's cursor doesn't change into, say, a pointing finger. So using <a> with a null href of some sort is probably better.

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

    Default

    Quote Originally Posted by mccaskey View Post
    It seems to work, but then the browser's cursor doesn't change into, say, a pointing finger. So using <a> with a null href of some sort is probably better.
    You can simply use CSS to give those elements a "hand" cursor, for example:

    Code:
    span.mylinks{
    cursor: pointer;
    }
    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
  •