Aruna Chinnamuthu
2010-Nov-15 10:16 UTC
How to get lightbox on mouse over of the link in rails
Hi ,
i am very new to ROR
How to a mouse over light box thing in this link_to .
I tried by getting a lightbox on Click of a button by
<%= pop_up @blog %>
where i added a action in blogs controller
def pop_up
render :partial => ''shared/pop_up'', :layout => false,
:locals =>
{:node => @blog}
end
and a action pop_up in aplication_helper
and kept a pop_up file under shared folder.
The above thing works fine on click of the button
How to get the same lightbox thing on mouse over of the link
<%= link_to "User", @blog.user %>
--
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.