1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-27 01:25:34 +00:00

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

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>