Hello–
I¹m using Builder::XmlMarkup to create a menu tree and need to have some
gee-whizzy javascript to make the menus expand, fade, twirl and dance.
Ok,
maybe not the last bit. Anyhow, because the html is generated mainly
through
code like:
xm.li(:id=> ³menu_#{unique_id}², :class => �menu¹){
xm << link_to_function(�menu name¹, �function_name¹)
}
Unfortunately, link_to_function is in a helper and not accessible to my
controller code. Anyone know how better to accomplish this?
Thanks,
Steve