View Full Version : Cross Browser compatible status bar message script

08-04-2006, 12:33 AM
I would like to have a message appear in the status bar.

I used the following script

<script language="Javascript" type="text/javascript">
window.status='my message goes here'

The message displays as expected in Internet Explorer and Safari but doesn't display at all in Netscape Navigator and Firefox. Can you tell me how do I amend the code to so that my status bar message displays in all the above mentioned browsers.


08-04-2006, 03:25 AM
Scripting the status bar text is a user option in Opera, Safari and the Mozilla gecko browsers, and also in IE7. You cannot rely on it outside of IE6. It will work when the user has either specifically allowed it, or, in Safari, not specifically disallowed it.