From: Jean-Michel Sarlat Date: Tue, 15 Nov 2016 23:14:28 +0000 (+0100) Subject: Doc: un petit allègement du code... X-Git-Url: https://melusine.eu.org/syracuse/G/git/?p=svganimation.git;a=commitdiff_plain;h=f18102174fd3cbbc28c04d194de4988b98c6daa9 Doc: un petit allègement du code... --- diff --git a/doc/page.html b/doc/page.html index c967e44..08dd758 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é.

diff --git a/doc/page.md b/doc/page.md index d227dad..09c6eca 100644 --- a/doc/page.md +++ b/doc/page.md @@ -222,11 +222,12 @@ Fonction qui sera liée à l'*événement* `onclick` d'un bouton proposant justement le chargement de l'animation... ~~~~~~~ { .html } -
- animation1 +
+ animation1
Ellipsographe
-
+
+ +
~~~~~~~ @@ -363,7 +364,7 @@ player.connect(); } -
+
animation1
Ellipsographe