Closed (fixed)
Project:
Nice Menus
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2008 at 22:40 UTC
Updated:
12 Mar 2008 at 22:51 UTC
I would like to theme the menu item output, so I can add a javascript function to the HREF. Is this possible?
Thanks
Comments
Comment #1
add1sun commentedYep! The links themselves for Nice Menus are created using the Drupal API function menu_item_link. You are free to use http://api.drupal.org/api/function/theme_menu_item_link/5 to theme your menu links or you can alternatively do a theme override on Nice Menus' theme_nice_menu_tree function and put whatever you would like in the place of menu_item_link.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.