Closed (works as designed)
Project:
DHTML Menu
Version:
6.x-3.5
Component:
User Interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Jun 2009 at 10:46 UTC
Updated:
26 Feb 2012 at 13:19 UTC
Under settings-> dhtml menu effects-> there is one option: "Go to a page on double click."
How to make it "Go to a page on SINGLE click"...I want to click one time....any ideas? Not two time...
Comments
Comment #1
cburschkaUm, when you click one time, the menu expands dynamically. That's the point of enabling this module. It can only do one thing at a time, so if a single click already expands the menu , it can't also go to the page. ;)
There are alternatives available, like the "Cloned link" option that puts a static link beneath every menu item. DHTML Menu for Drupal 7 also has several additional features to make static navigation more convenient.
Comment #2
gejo commentedI've solved it by modifying "dhtml_menu.js".
Find this code:
...and add this line:
..so it will perform both actions.
It seems to work fine for me.
Comment #3
psampaz commentedworks fine for me too, thanks
Comment #4
NenadP commentedWas searching for this too. But now script looks different, targeted method onder which
window.location = this.href;is to be applied is nowlink.click(function(e)Now i am trying to apply this only to some depth of the sub-links.