1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-30 01:55:30 +00:00
elinks/test/ecmascript/scroll.html
Witold Filipczyk 31729c7c59 Test case for scroll. Scrolling currently only works with SEE.
TODO: window.status and SpiderMonkey setTimeout.
2006-10-23 23:08:14 +02:00

15 lines
395 B
HTML

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