RelaxNG/Examples/Documents/torture_test.xml
changeset 183 f9b4457d0778
parent 182 af222772225f
child 184 68fd62d59f7c
--- a/RelaxNG/Examples/Documents/torture_test.xml	sam. mars 16 20:42:16 2013 +0100
+++ b/RelaxNG/Examples/Documents/torture_test.xml	dim. mars 17 12:41:21 2013 +0100
@@ -505,7 +505,7 @@
             <media>
               <image id="cosette">
                 <copyright>Émile BAYARD</copyright>
-                <hotspot x="35%" y="32%" w="34%" h="50%" type="border">
+                <hotspot x="35%" y="32%" w="34%" h="50%" type="visible">
                   <link idref="cosette"/>
                 </hotspot>
               </image>
@@ -530,14 +530,32 @@
             </p>
             <media>
               <image id="f-gcru">
-                <hotspot x="23.5%" y="48.7%" w="7.5%" h="14.2%" type="border">
+                <hotspot x="23.5%" y="48.7%" w="7.5%" h="14.2%" type="normal"
+                         dx="-1" dy="-4.1" dw="0">
                   <p>Directionnel</p>
+                  <scenario>
+                    <init action="hide"/>
+                    <onclick action="show"/>
+                  </scenario>
                 </hotspot>
-                <hotspot x="68.2%" y="33.2%" w="7.5%" h="14.2%" type="border">
+                <hotspot x="68.2%" y="33.2%" w="7.5%" h="14.2%" type="visible"
+                         dx="-2.5" dy="-4.1" dw="0">
                   <p>Compte-tours</p>
-                </hotspot>
-                <hotspot x="55.3%" y="67.8%" w="7.5%" h="14.2%" type="pulse">
+                  <scenario>
+                    <init action="hide"/>
+                    <onclick action="show"/>
+                  </scenario>
+                 </hotspot>
+                <hotspot x="55.3%" y="67.8%" w="7.5%" type="pulse"
+                         dx="-2.5" dy="-6" dw="5">
                   <image id="zoom_oil"/>
+                  <scenario>
+                    <init action="hide"/>
+                    <onclick action="show"/>
+                  </scenario>
+                 </hotspot>
+                <hotspot x="1%" y="93.5%" w="0%">
+                  <p>Copyright P²</p>
                 </hotspot>
               </image>
               <caption x="1%" y="1%">Robin DR-400, F-GCRU.</caption>