1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/test/js/scroll3.html
2024-09-24 21:43:10 +02:00

18 lines
476 B
HTML

<head>
<script>
var tekst = ' ELinks';
function scrollText() {
var znak = tekst.charAt(0);
tekst = tekst.substring(1, tekst.length) + znak;
return '<pre>' + tekst.substring(0, 80) + '</pre>';
}
function scroll() {
document.getElementById('s').innerHTML = scrollText();
window.setTimeout(scroll, 100);
}
</script>
</head>
<body onload="scroll()">
<div id="s"></div>
</body>