Rev 6097 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 11795 | bpr | 1 | |
| 13 | reyssat | 2 | Call a WIMS module (exercise, tool, doc, administration): up to 2 arguments.<ul> |
| 3 | <li>Argument 1: adress of the module (character strings in the URL |
||
| 6097 | bpr | 4 | after <span class="wims_code_words">.../wims.cgi?</span> ; but you can also copy |
| 13 | reyssat | 5 | the entire adress). To insure the correct working of the link, please avoid |
| 6 | using addresses containing a string |
||
| 6097 | bpr | 7 | <span class="wims_code_words">cmd=reply</span> or <span class="wims_code_words">cmd=resume</span>. |
| 3614 | bpr | 8 | </li><li>Argument 2 (optional): the text of the link. By default, this text will |
| 13 | reyssat | 9 | be the title of the called module. |
| 3614 | bpr | 10 | </li></ul> |
| 6097 | bpr | 11 | The called module will be brought up in another window of the browser, except for the command <span class="wims_code_words">\\adm</span>. |
| 12 | <p>For example, <span class="wims_code_words">\\exercise{module=U1/analysis/graphder}{this}</span> |
||
| 13 | reyssat | 13 | or |
| 6097 | bpr | 14 | <span class="wims_code_words">\\exercise{http://wims.cgi?module=U1/analysis/graphder}{this}</span> |
| 13 | reyssat | 15 | gives \exercise{module=U1/analysis/graphder}{this}. (Both formulas are OK.) |
| 16 | |||
| 6097 | bpr | 17 | <span class="wims_code_words">\\tool{module=tool/algebra/factor}</span> |
| 13 | reyssat | 18 | gives \tool{module=tool/algebra/factor}. |
| 19 | |||
| 6097 | bpr | 20 | <span class="wims_code_words">\\help{module=help/main}{this help window}</span> |
| 13 | reyssat | 21 | opens \help{module=help/main}{this help window}. |
| 22 | |||
| 23 | <b>Remark</b>. For a document within a virtual class, if you write |
||
| 6097 | bpr | 24 | <span class="wims_code_words">\\exercise{3/2}</span>, it is the second exercise of worksheet 3 that will popup, with the usual user scoring system. |
| 13 | reyssat | 25 | |
| 26 | However, this is limited to exercises without score dependencies, and you should make sure that the exercise you refer to is really accessible by the readers. |
||
| 11795 | bpr | 27 | </p> |