iconv: Bail out of the loop when an illegal sequence of bytes occurs.
[elinks/elinks-j605.git] / test / ecmascript / scroll.html
blob3ddb94783a01ffde3301b4ce502f4c52c11f315c
1 <body onload="scroll()">
2 <script>
3 var tekst = ' ELinks';
4 function scrollText() {
5 var znak = tekst.charAt(0);
6 tekst = tekst.substring(1, tekst.length) + znak;
7 return tekst.substring(0, 80);
9 function scroll () {
10 document.title = scrollText();
11 setTimeout("scroll()", 100);
13 </script>
14 </body>