s
o
m
r

Okolo

Script <SCRIPT ID=clientEventHandlersVBS LANGUAGE=vbscript><!--
option explicit
dim i
dim Cx,Cy
dim casovac
dim k
dim U,U1,U2,U3
dim V,V1,V2,V3
const Rx=100
const Ry=40

Sub window_onload
casovac= window.setInterval ("animuj",30)'start '
k=0.5
V=4:v1=4:v2=4 :v3=4
End Sub

sub animuj()
U=U-2
if U < 0 then U=360
if U<180 then V=4's'
if U>180 and U<270 then V=V - K
if U>270 then V=V + K
Okolo0.style.posLeft = Cx+Rx * cos(U*3.14/180)
Okolo0.style.posTop = Cy-Ry * sin(U*3.14/180)
Okolo0.style.fontSize= V
U1=U+20'o'
if U1<180 then v1=4
if u1>180 and u1<270 then v1=v1 - K
if u1>270 and u1<360 then v1=v1 + K
Okolo1.style.posLeft = Cx+Rx * cos(U1*3.14/180)
Okolo1.style.posTop = Cy-Ry * sin(U1*3.14/180)
Okolo1.style.fontSize=v1
U2=U+40'm'
if U2<180 then v2=4
if u2>180 and u2<270 then v2=v2 - K
if u2>270 and u2<360 then v2=v2 + K
Okolo2.style.posLeft = Cx+Rx * cos(u2*3.14/180)
Okolo2.style.posTop = Cy-Ry * sin(u2*3.14/180)
Okolo2.style.fontSize=v2
U3=U+60'r'
if U3<180 then v3=4
if u3>180 and u3<270 then v3=v3 - K
if u3>270 and u3<360 then v3=v3 + K
Okolo3.style.posLeft = Cx+Rx * cos(u3*3.14/180)
Okolo3.style.posTop = Cy-Ry * sin(u3*3.14/180)
Okolo3.style.fontSize=v3
End Sub

Sub document_onmousemove
Cx = window.event.x
Cy = window.event.y
End Sub
--></SCRIPT>

CSS <STYLE type="text/css"><!--
div {
position: absolute;
z-index: 1;
font-size: 4px;
font-family: "Courier New", Courier;}
--></STYLE>
Objekty <div id="Okolo0">s</div>
<div id="Okolo1">o</div>
<div id="Okolo2">m</div>
<div id="Okolo3">r</div>