Rev 8867 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3300 | bpr | 1 | :signification |
12275 | obado | 2 | Met les champs des types de réponses |
8867 | bpr | 3 | <span class="tt wims_code_words">dragfill</span> ou <span class="tt wims_code_words">clickfill</span> dans une grande image. |
8360 | bpr | 4 | Doit être utilisé dans le <span class="tt wims_code_words">statement</span> d'un exercice OEF. |
3300 | bpr | 5 | :example |
12275 | obado | 6 | <div class="wims_help_bloc example"> |
7 | <h2>Exemple</h2> |
||
8360 | bpr | 8 | |
8867 | bpr | 9 | <div class="spacer"> |
10 | <textarea id="wims_show41" cols="100" rows="5" readonly="readonly"> |
||
3299 | bpr | 11 | \special{imagefill \imagedir/myphoto.jpg,450x350,40x40 |
12 | reply 1,120x250 |
||
13 | reply 3,300x50 |
||
14 | reply 4,10x15 |
||
15 | } |
||
5312 | bpr | 16 | </textarea> |
8867 | bpr | 17 | </div> |
18 | <p> |
||
5903 | bpr | 19 | Dans cet exemple, on affiche une grande image (<span class="tt wims_fname">\imagedir/myphoto.jpg</span>) dans l'énoncé |
3299 | bpr | 20 | de type 450x350, avec 3 champs de réponse de type drag-and-drop de type 40x40. Les trois champs sont |
5903 | bpr | 21 | respectivement les réponses 1, 3 et 4 (qui doivent être de type <span class="tt wims_code_words">clickfill</span> ou |
22 | <span class="tt wims_code_words">dragfill</span>), aux positions respectives 120x250, 300x50, 10x15 dans la grande image. |
||
8867 | bpr | 23 | </p><p> |
3300 | bpr | 24 | La grande image sera redimensionnée à la taille spécifiée. |
8867 | bpr | 25 | </p> |
12275 | obado | 26 | </div> |
8867 | bpr | 27 | :option |
12275 | obado | 28 | <div class="wims_help_bloc option"> |
29 | <h2>Option :</h2> |
||
30 | <p> |
||
31 | Il est possible d'avoir des réponses multiples. Pour cela, ajouter un troisième paramètre entier à la taille : |
||
32 | <span class="tt wims_code_words">reply1,120x250x4</span> montrera un champ de longueur 4 ( x 120). |
||
33 | </p> |
||
34 | <p> |
||
35 | Avec l'option <span class="tt wims_code_words">transparent</span> dans le type de réponse, |
||
36 | le champ à remplir est transparent et ne cache pas l'image. |
||
37 | </p> |
||
38 | </div> |