Nouvel version des hotspots
authorPatrick PIERRE <patrick.pierre@prismallia.fr>
sam., 16 mars 2013 20:41:39 +0100
changeset 72 191d70f74bf5
parent 71 1471e7332128
child 73 8d893b96a36b
Nouvel version des hotspots
Xml/Documents/torture_test.xml
--- a/Xml/Documents/torture_test.xml	sam. mars 16 10:29:20 2013 +0100
+++ b/Xml/Documents/torture_test.xml	sam. mars 16 20:41:39 2013 +0100
@@ -505,7 +505,7 @@
             <media>
               <image id="cosette">
                 <copyright>Émile BAYARD</copyright>
-                <hotspot x="35%" y="32%" width="34%" height="50%">
+                <hotspot x="35%" y="32%" w="34%" h="50%" type="border">
                   <link idref="cosette"/>
                 </hotspot>
               </image>
@@ -530,9 +530,15 @@
             </p>
             <media>
               <image id="f-gcru">
-                <hotspot x="27.5%" y="55.4%" dx="-6.5" dy="-11" hidden="true"><p>Directionnel</p></hotspot>
-                <hotspot x="72.2%" y="40.1%" dx="-7.5" dy="-11" hidden="true"><p>Compte-tours</p></hotspot>
-                <hotspot x="59%" y="74.9%" dx="-9.4" dy="-17.8" hidden="true"><image id="zoom_oil"/></hotspot>
+                <hotspot x="23.5%" y="48.7%" w="7.5%" h="14.2%" type="border">
+                  <p>Directionnel</p>
+                </hotspot>
+                <hotspot x="68.2%" y="33.2%" w="7.5%" h="14.2%" type="border">
+                  <p>Compte-tours</p>
+                </hotspot>
+                <hotspot x="55.3%" y="67.8%" w="7.5%" h="14.2%" type="pulse">
+                  <image id="zoom_oil"/>
+                </hotspot>
               </image>
               <caption x="1%" y="1%">Robin DR-400, F-GCRU.</caption>
             </media>