RJS Question


#1

Hi,

What would my method call in an rjs template to produce something like:

new Effect.BlindDown($(‘commentList’).lastChild);
I know if I just wanted to the blind effect I would:

page.visual_effect :blind_down, “row_#{@new_item.id}”

but how would I call it if I want the ".lastChild instead of passing a
particular id?

thanks, scott.


What’s an Intel chip doing in a Mac? A whole lor more that it’s ever
done in a PC.

My Digital Life - http://scottwalter.com/blog
Pro:Blog - http://scottwalter.com/problog