Rails and tooltip

Hi,

I’d like to create a netflix like tooltip, tooltip with html content
that appears when mouse over an image, but using rails. I couldn’t
find any discussion/tutorial/example on this. Does anyone know if
there is a best practice example of that?

Maybe something in this fashion:

<%= link_to_remote(
image_tag(image.gif),
:onmouseover =>…,
:loading =>
:update =>
:url => { :action => :…, :id => …}
:complete => visual_effect(:appear, “div”)
)%>
Using prototype pop up window?

Cheers,
Mark

Search on google for what you want and then implementing it in rails is
easy. Put images, javascripts and stylesheets in appropriate folders in
public folder. And use them as you would use any other javascript
library. I am not using the html content but I am using the bubble
tooltip from

Sonney Mrgic wrote:

Hi,

I’d like to create a netflix like tooltip, tooltip with html content
that appears when mouse over an image, but using rails. I couldn’t
find any discussion/tutorial/example on this. Does anyone know if
there is a best practice example of that?

Maybe something in this fashion:

<%= link_to_remote(
image_tag(image.gif),
:onmouseover =>…,
:loading =>
:update =>
:url => { :action => :…, :id => …}
:complete => visual_effect(:appear, “div”)
)%>
Using prototype pop up window?

Cheers,
Mark