function charge(i,p,a,b) {
var anim = new Animation(i,p,a,b);
anim.loopOnload();
- player = new Controle(anim);
- player.connect();
}
</script>
<p><strong>Participants :</strong> Chupin Maxime, Sarlat Jean-Michel.</p>
<script type="text/javascript" src="js/SVGAnimation.js"></script></code></pre>
<p>La librairie <code>SVGAnimation.js</code> dépend de <code>JQuery</code>, il faut donc charger charger cette bibliothèque JavaScript avant.</p>
<h2 id="lobjet-animation">L'objet <code>Animation</code></h2>
-<div id="anim1" style="margin:10px auto;padding:10px;width:660px;border:2px solid #AAA;border-radius:4px">
-<img src="../ellipsographe/svg/ellipsographe-1.svg" alt="animation1" style="width:660px;height:480px"/>
+<div id="anim1" style="margin:10px auto;padding:10px;width:370px;border:2px solid #AAA;border-radius:4px">
+<img src="../ellipsographe/svg/ellipsographe-1.svg" alt="animation1" style="width:330px;height:240px"/>
<div id="anim1_message" class="message">
Ellipsographe
</div>