Guest_imported
New member
- Jan 1, 1970
- 0
I made this script:
<script language="javascipt">
<!--
timer1 = setTimeout(&quot;a()&quot;, 1000);
clearTimeout(timer1);
timer2 = setTimeout(&quot;b()&quot;, 2000);
clearTimeout(timer2);
function a()
{
setInterval(window.status=&quot;Welcome to my Homepage&quot;, 2000);
}
function b()
{
setInterval(window.status=&quot; &quot;, 2000);
}
//-->
</script>
I think this should work but it doesn't. Can any please
tell my why this doesn't work? What it should do is :
1st second statusbartext: Welcome to my Homepage
2nd second statusbartext:
3ed second statusbartext: Welcome to my Homepage
4th second statusbartext:
5th second statusbartext: Welcome to my Homepage
6th second statusbartext:
and so on and on ...
But the only thing I get is an error!
Thank you very very much!!!
Bobba_Fet
<script language="javascipt">
<!--
timer1 = setTimeout(&quot;a()&quot;, 1000);
clearTimeout(timer1);
timer2 = setTimeout(&quot;b()&quot;, 2000);
clearTimeout(timer2);
function a()
{
setInterval(window.status=&quot;Welcome to my Homepage&quot;, 2000);
}
function b()
{
setInterval(window.status=&quot; &quot;, 2000);
}
//-->
</script>
I think this should work but it doesn't. Can any please
tell my why this doesn't work? What it should do is :
1st second statusbartext: Welcome to my Homepage
2nd second statusbartext:
3ed second statusbartext: Welcome to my Homepage
4th second statusbartext:
5th second statusbartext: Welcome to my Homepage
6th second statusbartext:
and so on and on ...
But the only thing I get is an error!
Thank you very very much!!!
Bobba_Fet