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 %>