# HG changeset patch # User Patrick PIERRE # Date 1363520676 -3600 # Node ID 8d893b96a36b99a615fe0373ca3ab2c37c011381 # Parent 191d70f74bf568c4c3db246884b0bdff67d37382 Mise en place des scénarios hotspot diff -r 191d70f74bf5 -r 8d893b96a36b Xml/Documents/torture_test.xml --- a/Xml/Documents/torture_test.xml sam. mars 16 20:41:39 2013 +0100 +++ b/Xml/Documents/torture_test.xml dim. mars 17 12:44:36 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>