Results 1 to 5 of 5

Thread: Help with my website and ddSmothmenu

  1. #1
    Join Date
    Mar 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help with my website and ddSmothmenu

    1) Script Title:
    ddsmothmenu

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

    3) Describe problem:
    Hello, I'm trying to change the script of ddsmothmenu used on my website (http://bandsevents.altervista.org).
    The scrips simply opens a vertical menu when the mouse in on one of the menu's buttons/sections...(it's hover option).
    I'd like to have the opening of the menu when someone clicks on it(onclick) and the closing with another click...
    Can someone help me pls?

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

    Default

    Nobody wants to help me?

  3. #3
    Join Date
    Feb 2007
    Posts
    39
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    Im not sure but maybe in the http://bandsevents.altervista.org/js/ddsmoothmenu.js

    you should try to replace some hovers for onclick, sometimes that works, i dont know anything about scripts, i use css most of the times, but sometimes, trying to change one at time, or look into the code, sometimes just reading the code gives you the idea of what it does,

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

    Default

    Try the below modified .js file, which changes the menu behavior so the sub menus are revealed onclick of their respective header. The sub menus still collapse onmouseout, however, as getting them to also collapse onclick is a lot more involved (and arguably a lot less elegant).
    DD Admin

  5. #5
    Join Date
    Mar 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Well i was asking for this help also because I was trying to help this script to be more useful for everybody...I think that it is a really good script but right now with all the touch screen devices that are used to go on the internet make a script that works only with "hover" in something that will make a website not accesible from those devices...
    So my request for a script that works "on click" was actually a way to make ddsmothmenu more useful...
    Maybe you know how to make the closing when there is no hover after few seconds...like 10 sec?

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
  •