At the moment, Nice Menus is applied to ul.nice-menu elements once the document is ready (see nice_menus.js).
Ideally this activation code should sit within a Drupal.behaviors function so it can be easily called again (ie if the Nice Menu is dynamically replaced via AJAX).
It should be called via Drupal.attachBehaviors('ul.nice-menu'); or something similar.
I hope this makes sense...
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 1363316.3-nice-menus-behaviors.patch | 2.42 KB | deviantintegral |
Comments
Comment #1
vordude commentedComment #2
deviantintegral commentedComment #3
deviantintegral commentedHere's a patch that converts the JS to a behavior and cleans up the documentation.
Comment #4
ericduran commentedComment #5
vordude commentedEdit.
lol
Wrong issue.
Committed
http://drupalcode.org/project/nice_menus.git/commit/3c914c79eada759542bc...
Comment #6
vordude commentedComment #7
vordude commented