1
0
Fork 0

Test case for scroll. Scrolling currently only works with SEE.

TODO: window.status and SpiderMonkey setTimeout.
This commit is contained in:
Witold Filipczyk 2006-10-23 23:08:14 +02:00 committed by Witold Filipczyk
parent cc4d02b0ae
commit 31729c7c59
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
<body onload="scroll()">
<script>
var tekst = ' ELinks';
function scrollText() {
var znak = tekst.charAt(0);
tekst = tekst.substring(1, tekst.length) + znak;
return tekst.substring(0, 80);
}
function scroll () {
document.title = scrollText();
setTimeout("scroll()", 100);
}
</script>
</body>