Results 1 to 3 of 3

Thread: All Levels Menu onclick and mouseover

  1. #1
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default All Levels Menu onclick and mouseover

    1) Script Title:
    multilevel menu
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...menu/index.htm


    3) Describe problem:
    This menu only uses onmouseover
    But I would like to be able to click on the parent menu option and that
    this would "pin" the submenu until clicked

    Is there another menu script that will allow clicking the parent menu option
    and this would prevent time-out

  2. #2
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    To clarify

    I want a combination onmouseover and onclick menu

    when I mouseover a menu it expands and mouseout will collapse

    but for people who are not very proficient with mouse I want the option
    of being able to click on the menu and it will remain open indefinitely
    or for a long time until the mouse is clicked again.

  3. #3
    Join Date
    Aug 2004
    Posts
    9,918
    Thanks
    3
    Thanked 969 Times in 957 Posts
    Blog Entries
    15

    Default

    I think if you actually implemented what you're asking, a lot of subtle issues will become apparent. One thing you can do quickly that may help is to disable the top menu items from navigating to a page when clicked on, ensuring the user stays and sees the drop down menu on the current page if they clicked on an item. To do this, inside the .js file, find the below line:

    Code:
    ddlevelsmenu.hidemenu(ddlevelsmenu.subuls[this._master][parseInt(this._pos)])
    and replace that with:

    Code:
    		if (e.preventDefault)
    			e.preventDefault()
    		else
    			return false
    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
  •