Check out this snippet http://snippets.dzone.com/posts/show/3206
On Sep 16, 1:12 pm, Matt Harrison <[EMAIL PROTECTED]> wrote: > Felipe Vergara wrote: > > search for the jrails libraries, they contain jquery it has very simple > > methods to do what you need. > > > /script/plugin > > installhttp://ennerchi.googlecode.com/svn/trunk/plugins/jrails > > > Once you have that installed yo do > > > <div class="fxBox"><div style="display: block;" class="fx" > > onclick="$(this).slideUp()"><p>SlideUp</p></div></div> > > > that is to slide up > > to slide down > > <div class="fxBox"><div style="" class="fx" > > onclick="$(this).slideDown()"><p>SlideDown</p></div></div> > > Hi, thanks for the reply. > > I can see that this looks easier, but is it actually going to work like > link_to_remote? I mean will it be able to call an action and return the > content that the action renders? > > I'm not sure but I think I should be looking at combination effects or > something. > > The actual content replacement and everything works fine, but it doesn't > have any effects, it's just a sharp, quick "change" which isn't easy on > the eye. I just want to add a slide effect to the update. > > Thanks > > Matt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

