PDA

View Full Version : Works in IE6 but not IE7. Help needed.



jass
07-12-2007, 03:18 PM
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.


<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>

jscheuer1
07-12-2007, 03:31 PM
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.