Sun, 22 Nov 09
Rails-style jQuery UI Menu
Some people love the drop-down, drill-down fly-out menu, which is now working its way into the official jQuery UI code-base.
The menu looks great, but is a bit tedious to construct. In fact, its downright onerous for the railszers used as we are to select_tag and options_for_select].
Ruby to the rescue!
The rails-jquery-dropdown helper generates the drop-down HTML markup, places menu items and values and optionally sub-menus using a passed-in Array, and wires up the Javascript behavior using jQuery.
Get it from GitHub: http://github.com/dkeskar/rails-jquery-dropdown
Sun, 22 Nov 09