Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    May 2006
    Posts
    128
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Cross Browser compatible status bar message script

    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.

  • #2
    Regular Coder
    Join Date
    Mar 2006
    Posts
    726
    Thanks
    35
    Thanked 132 Times in 123 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •