Closed (fixed)
Project:
Nice Menus
Version:
7.x-2.5
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Feb 2014 at 13:34 UTC
Updated:
14 Feb 2014 at 16:04 UTC
Jump to comment: Most recent
Comments
Comment #1
davidtrainer commentedI do what you're describing pretty frequently. Use menu_attributes module to add a class like "nolink" to the menu item, then add the following javascript:
$('a.nolink').removeAttr('href').css('cursor', 'default');Comment #2
kaipee_s2s commentedAh, yes that looks like it helps to expand the functionality of menus. Thanks.
Could you just clarify where you add the additional JavaScript? Is there an additional field for inline JS or something? (apologies for changing status for commenting)
Comment #3
davidtrainer commentedSee here for how to add JavaScript: https://drupal.org/node/304255