X-Git-Url: https://melusine.eu.org/syracuse/G/git/?a=blobdiff_plain;f=doc%2Fpage.html;h=38816b5bb6168c812a2e9839a5c4b081c20eb701;hb=1bdee2347fb99078b44af956afd804b83aa1d76a;hp=ddd3932faffaa42926ae351362d21324cb9e36d4;hpb=bb8183de3ce11f4e748684fc8346dd39c5793628;p=svganimation.git diff --git a/doc/page.html b/doc/page.html index ddd3932..38816b5 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é.

@@ -233,24 +234,23 @@ Charger l'animation

Le fichier SVGPlayerOne.js est fourni à la racine du projet SVGAnimation.

Exemples d'utilisation

-