1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/test/ecmascript/scroll.html
2021-11-10 18:05:35 +01:00

15 lines
401 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();
window.setTimeout("scroll()", 100);
}
</script>
</body>