Contrary to what you can find on the web, when trying to set the window.status when hovering over a link, you need to return false at the end of the hover function, otherwise the standard mouseover event is going to kick in overwrite your window.status
The following jQuery works
$('a').hover(function(){window.status=this.title?this.title:'';return false;},function(){window.status='';return false;})If you return true, the window status is going to display the URL instead, which is the standard.
Zoran (not verified) wrote:
Thanks for this, great useful tip!
- parent
- reply
»Post new comment