mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
18 lines
383 B
HTML
18 lines
383 B
HTML
<head>
|
|
<script>
|
|
var tekst = 'ELinks scroll innerHTML part 3. 11.06.2021 EURO ';
|
|
function scrollText() {
|
|
var znak = tekst.charAt(0);
|
|
tekst = tekst.substring(1, tekst.length) + znak;
|
|
return tekst;
|
|
}
|
|
function scroll() {
|
|
document.getElementById('s').innerHTML = scrollText();
|
|
setTimeout(scroll, 1000);
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="scroll()">
|
|
<div id="s"></div>
|
|
</body>
|