The JavaScripot/jQuery's onMouseOver event could be one possibility.
It creates an event when the mouse is passed over active text or image.
http://www.htmlgoodies.com/beyond/javascript/article.php/3470771/Advanced-JavaScript-for-Web-Developers-onClick-and-onMouseOver.htm