I am struggling to understand and find resource to learn what parameter,
if that is the right word, can be inside the brackets in the page
statement for visual effect, i.e.
page["comment_#{@comment.id}"].visual_effect :shake,
:duration => 6.5
From what I have seen through web searches it has to do with partials.
Is that correct? I got an typeerror (is null) trying to do this because
I don''t have a partial:
page["#{@user.name}"].visual_effect :shake :duration => 6.5
Please help me understand this or refer me to a resource that makes it
clear to me. Thanks.
--
Posted via http://www.ruby-forum.com/.
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi Kevin, On Tue, Nov 23, 2010 at 2:27 PM, kevin lee <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I am struggling to understand and find resource to learn what parameter, > if that is the right word, can be inside the brackets in the page > statement for visual effect, i.e.The id of a DOM element. And remember that id must be unique. The W3C validator can be a real timesaver. HTH, Bill -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.