I’m having a hard time figuring out how to handle mouseover events w/
should be used).
I’m currently trying to create a simple mouseover info box showing the
definition, and some other information, when certain words are
Say I have an array of Word objects that have 1) word name 2) definition
3) latin origin.
From my controller, I create a list of words by rendering partial (to
the div element “word_list”) the collection (using a _word.rhtml
In the _word.rhtml partial:
How do I set up a trigger for the onmouse over using link_to (assuming
that’s the best func to use)?
How do I get the Word object definition, etc. into the (currently
hidden) info box when someone does mouseover? Is it best done through
Finally, where is the positioning of the info box set? (so it appears
next to the word it is defining)
I hope this is clear enough and thank you so very much in advance!