Visual effect Appear problem

Eduardo Yáñez Parareda
Thu, 07 Sep 2006 11:19:02 -0000

Hi, when I show a div element all content below it moves down. Is it
the expect behaviour?

In a .rjs I have:

page.replace ''p_details'', :partial =>
''p_details''
page.toggle ''p_details''
page.visual_effect :appear, ''p_details'', :duration => 2

In the view:




Back (a link)


Well, when the action is executed, p_details element is showed fine,
but the link (Back) is
scrolled down, why?, how could I do to not get the content scrolled?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---