repo.or.cz
/
elinks
/
elinks-j605.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
iconv: Bail out of the loop when an illegal sequence of bytes occurs.
[elinks/elinks-j605.git]
/
test
/
ecmascript
/
scroll.html
blob
3ddb94783a01ffde3301b4ce502f4c52c11f315c
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
);
8
}
9
function
scroll
() {
10
document
.
title
=
scrollText
();
11
setTimeout
(
"scroll()"
,
100
);
12
}
13
</script>
14
</body>