Results 1 to 2 of 2

Thread: Works in IE6 but not IE7. Help needed.

  1. #1
    Join Date
    Nov 2006
    Posts
    55
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Default Works in IE6 but not IE7. Help needed.

    The following script works fine for IE6 but not IE7.
    Could someone advise on how to modify the code so that it also works in IE7?
    Many thanks.

    Code:
    <SCRIPT Language="JavaScript">
    var msg="Welcome to my site";
    var interval = 300;
    seq = 0;
    function Scroll() {
    len = msg.length;
    window.status = msg.substring(0, seq+1);
    seq++;
    if ( seq >= len ) { seq = 0 };
    window.setTimeout("Scroll();", interval );} 
    </SCRIPT>

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Script access to, and even the existence of the status bar is configurable by the user in most modern browsers. The default settings are usually restrictive (it isn't allowed). No amount of script tweaking will change that.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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