- Impact
- 38
I've created some code to easily create multiple show/hide menus using YUI.
If you are looking for an "all CSS" solution, you won't find that here (and you won't find any as capable as this solution anywhere).
http://www.dylanbutler.com/2008/08/yui-generic-showhide-code/
The beauty of this code is this:
a) It uses YUI
b) It supports any type of content inside the menu (no more sifting through nodes).
c) It works for trigger/menu ID pairs OR a nested HTML list (UL, OL, DL).
If you are looking for an "all CSS" solution, you won't find that here (and you won't find any as capable as this solution anywhere).
http://www.dylanbutler.com/2008/08/yui-generic-showhide-code/
The beauty of this code is this:
a) It uses YUI
b) It supports any type of content inside the menu (no more sifting through nodes).
c) It works for trigger/menu ID pairs OR a nested HTML list (UL, OL, DL).
Last edited: