[Rails] Can :before and :success move from view file into .rjs file?
DAN
daniel at freelancewebdesigner.com
Wed Aug 9 00:16:48 GMT 2006
Within the RJS template is there a way to specify when the visual_effect
should occur?
I'm trying not to repeat the :before and :success blind_down
visual_effect statements throughout my views.
It seems like the rjs templates can only take visual effects statements
in the form of
page.visual_effect :blind_up, 'divname'. I can't figure out how to add
:before or :success to this statement.
Thanks,
DAN
--
Posted via http://www.ruby-forum.com/.
More information about the Rails
mailing list