X-Git-Url: https://melusine.eu.org/syracuse/G/git/?a=blobdiff_plain;f=doc%2Fpage.html;h=a6458c1e66ebd8ec89d1161eeafedd960eb7ae8f;hb=56f906aff181e89e39639517050436d2154f11bc;hp=ddd3932faffaa42926ae351362d21324cb9e36d4;hpb=bb8183de3ce11f4e748684fc8346dd39c5793628;p=svganimation.git diff --git a/doc/page.html b/doc/page.html index ddd3932..a6458c1 100644 --- a/doc/page.html +++ b/doc/page.html @@ -123,11 +123,12 @@ Chargement... b.connect(); }
Fonction qui sera liée à l'événement onclick
d'un bouton proposant justement le chargement de l'animation...
<div id="anim2"
- style="margin:10px auto;padding:10px;width:354px;border:2px solid #AAA;border-radius:4px">
- <img src="../ellipsographe/svg/ellipsographe-1.svg" alt="animation1" style="width:330px;height:240px"/>
+<div id="anim2" style="...">
+ <img src="../ellipsographe/svg/ellipsographe-1.svg" alt="animation1" style="..."/>
<div class="message" id="anim2_message">Ellipsographe</div>
- <div id="anim2_boutons"><button onclick="charge_anim2();">Charger l'animation</button></div>
+ <div id="anim2_boutons">
+ <button onclick="charge_anim2();">Charger l'animation</button>
+ </div>
</div>
Dans le même temps, le style des éléments englobants a été adapté.
@@ -232,25 +233,37 @@ Charger l'animation
Le fichier SVGPlayerOne.js
est fourni à la racine du projet SVGAnimation.
Exemples d'utilisation
+
SVGPlayerOne.js
SVGPlayerOne.js