04_Pohyb/Pohyb_03c_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  C 150 70 150 200 150 250 L 250 150
 22             L 400 250 C 400 200 400 20 500 70"
 23       onend="bStop=true; Draha.Zobraz(I);" />
 24    <div style="height=200px"> </div>
 25    xxxxxxx
 26  </body>
 27  </html>