player.connect();
}
$(window).load(function() {
- a1 = new Animation('anim1','../ellipsographe/svg/ellipsographe-',1,91);
- a1.loopOnload();
- b1 = new Controle(a1);
- b1.connect();
+ anim = new Animation('XXXX','../ellipsographe/svg/ellipsographe-',1,91);
+ anim.loopOnload();
+ player = new Controle(anim);
+ player.connect();
});
</script>
<p><strong>Participants :</strong> Chupin Maxime, Sarlat Jean-Michel.</p>
<span class="op">}</span>)<span class="op">;</span>
<span class="op"><</span><span class="ss">/script></span>
<span class="ss"><!--</span><span class="sc">[...]</span><span class="ss">--></span>
-<span class="ss"><div id="anim1"></span>
+<span class="ss"><div id="XXXX"></span>
<span class="ss"> <img src="svg/ellipsographe</span><span class="fl">-1.</span>svg<span class="st">" alt="</span>animation1<span class="st">"/></span>
- <span class="op"><</span>div <span class="kw">class</span><span class="op">=</span><span class="st">"message"</span> id<span class="op">=</span><span class="st">"anim1_message"</span><span class="op">></span>Chargement<span class="op"><</span><span class="ss">/div></span>
-<span class="ss"> <div id="anim1_boutons"></div</span><span class="op">></span>
+ <span class="op"><</span>div <span class="kw">class</span><span class="op">=</span><span class="st">"message"</span> id<span class="op">=</span><span class="st">"XXXX_message"</span><span class="op">></span><span class="va">Chargement</span>...<span class="op"><</span><span class="ss">/div></span>
+<span class="ss"> <div id="XXXX_boutons"></div</span><span class="op">></span>
<span class="op"><</span><span class="ss">/div></span></code></pre></div>
<p>dont le résultat est :</p>
-<div id="anim1">
+<div id="XXXX">
<img src="../ellipsographe/svg/ellipsographe-1.svg" alt="animation1"/>
-<div id="anim1_message" class="message">
-Ellipsographe
+<div id="XXXX_message" class="message">
+Chargement...
</div>
-<div id="anim1_boutons">
+<div id="XXXX_boutons">
</div>
</div>
player.connect();
}
$(window).load(function() {
- a1 = new Animation('anim1','../ellipsographe/svg/ellipsographe-',1,91);
- a1.loopOnload();
- b1 = new Controle(a1);
- b1.connect();
+ anim = new Animation('XXXX','../ellipsographe/svg/ellipsographe-',1,91);
+ anim.loopOnload();
+ player = new Controle(anim);
+ player.connect();
});
</script>
});
</script>
<!--[...]-->
-<div id="anim1">
+<div id="XXXX">
<img src="svg/ellipsographe-1.svg" alt="animation1"/>
- <div class="message" id="anim1_message">Chargement</div>
- <div id="anim1_boutons"></div>
+ <div class="message" id="XXXX_message">Chargement...</div>
+ <div id="XXXX_boutons"></div>
</div>
~~~~~~~
dont le résultat est :
-<div id="anim1">
+<div id="XXXX">
<img src="../ellipsographe/svg/ellipsographe-1.svg" alt="animation1"/>
- <div class="message" id="anim1_message">Ellipsographe</div>
- <div id="anim1_boutons"></div>
+ <div class="message" id="XXXX_message">Chargement...</div>
+ <div id="XXXX_boutons"></div>
</div>