...

View Full Version : Cross Browser compatible status bar message script



forgottenglory
08-03-2006, 11:33 PM
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'
-->
</SCRIPT>

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.

Thanks.

mrhoo
08-04-2006, 02: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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum