What's the best way to change the text of the statusbar when a user hovers over a button on my webpage? I have searched for this and foung a few random blogs about a month ago but the code doesn't work at all. Can somebody please help?
It's just a simple HTML/CSS site with abit of Jscript. :)
What browser are you testing in? Years ago all browsers let you change the status bar text programatically using the
status property of the
window object, however, many users became annoyed at this so a lot of browsers disabled allowing scripts to change the status bar text.
In firefox letting scripts change status bar text is disabled by default and I expect most other browsers are the same.
The most common reason for changing the status bar text is so that you can disguise affiliate links.
If you want to use the status bar to display a message to your visitors then there are much better ways to acheive this, such as with Growl-style notifications.