# HG changeset patch # User Patrick PIERRE # Date 1365527033 -7200 # Node ID c56f8c6b2868bbd62d9a972a8e39771cf9548883 # Parent e50ac13ec921d5b2920ef2a49f77add654e614c8 Gestion des dropzones diff -r e50ac13ec921 -r c56f8c6b2868 RelaxNG/Examples/Quiz/Images/blanks-select_dropzonei01.jpg Binary file RelaxNG/Examples/Quiz/Images/blanks-select_dropzonei01.jpg has changed diff -r e50ac13ec921 -r c56f8c6b2868 RelaxNG/Examples/Quiz/Images/blanks-select_hotspotsi01.jpg Binary file RelaxNG/Examples/Quiz/Images/blanks-select_hotspotsi01.jpg has changed diff -r e50ac13ec921 -r c56f8c6b2868 RelaxNG/Examples/Quiz/blanks-select_dropzone.xml --- /dev/null jeu. janv. 01 00:00:00 1970 +0000 +++ b/RelaxNG/Examples/Quiz/blanks-select_dropzone.xml mar. avril 09 19:03:53 2013 +0200 @@ -0,0 +1,25 @@ + + + + + + Exercice à trous avec placement sur image + + + +

Placez correctement chaque élément de la voiture.

+
+ + + + + le volant + le pare-brise + le siège + le levier de vitesse + le rétroviseur + + + +
+
diff -r e50ac13ec921 -r c56f8c6b2868 RelaxNG/Examples/Quiz/blanks-select_hotspots.xml --- a/RelaxNG/Examples/Quiz/blanks-select_hotspots.xml mar. avril 09 18:34:13 2013 +0200 +++ /dev/null jeu. janv. 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ - - - - - - Exercice à trous avec placement sur image - - - -

Placez correctement chaque élément de la voiture.

-
- - - - - le volant - le pare-brise - le siège - le levier de vitesse - le rétroviseur - - - -
-
diff -r e50ac13ec921 -r c56f8c6b2868 RelaxNG/publiquiz.rnc --- a/RelaxNG/publiquiz.rnc mar. avril 09 18:34:13 2013 +0200 +++ b/RelaxNG/publiquiz.rnc mar. avril 09 19:03:53 2013 +0200 @@ -372,17 +372,17 @@ blanks.image.content = copyright?, - blanks.hotspot* + blanks.dropzone* -# ~~~~~~ blanks.hotspot -blanks.hotspot = element hotspot { - blanks.hotspot.attributes, blanks.hotspot.content } +# ~~~~~~ blanks.dropzone +blanks.dropzone = element dropzone { + blanks.dropzone.attributes, blanks.dropzone.content } -blanks.hotspot.attributes = +blanks.dropzone.attributes = x.attribute & y.attribute -blanks.hotspot.content = +blanks.dropzone.content = blank # ~~~~~~~~~~~~~~~~~~~~~~~~ choices.right, choices.wrong ~~~~~~~~~~~~~~~~~~~~~~~