04_Pohyb/Pohyb_03b_L.htm
1 <html xmlns:t ="urn:schemas-microsoft-com:time">
2 <head>
3 <title>Pohyb_3</title>
4 <?import namespace="t" implementation="#default#time2">
5 <style>
6 #Obr {position:absolute; left:10px; top:70px;}
7 #I { position:absolute; left:10px; top:50px;
8 behavior: url(#default#time2); }
9 </style>
10 <script type="text/javascript" src="ufo.js"></script>
11 </head>
12 <body id='B' onload="B.onmousemove=Pozicia"
13 onclick="Draha.Tabulka('Rovnomerny pohyb');">
14 <h2>Lietajúci motýl</h2>
15 <span id="I" dur=".01" repeatCount="indefinite" fill="hold"
16 onrepeat = "innerText=Info(am,Obr); Draha.PridajBod(am, Obr, bStop);" >
17 </span>
18 <img id="Obr" src="Motyl.jpg" />
19 <t:animateMotion id="am" targetElement="Obr" origin="parent"
20 begin="1" dur="10" fill="hold"
21 path="M 10 70 L 150 250 L 250 150 L 400 250 L 500 70"
22 onend="bStop=true; Draha.Zobraz(I);" />
23 <div style="height=200px"> </div>
24 xxxxxxx
25 </body>
26 </html>