Rev 6507 | Rev 6715 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 6507 | Rev 6713 | ||
|---|---|---|---|
| Line 17... | Line 17... | ||
| 17 | list_of_things=['text','point','line','segment','circle','function','polygon','conic','ellipse','polynomial','vector','number','angle']; |
17 | list_of_things=['text','point','line','segment','circle','function','polygon','conic','ellipse','polynomial','vector','number','angle']; |
| 18 | !else |
18 | !else |
| 19 | list_of_things=$list_of_things |
19 | list_of_things=$list_of_things |
| 20 | !endif |
20 | !endif |
| 21 | function sendanswer(){ |
21 | function sendanswer(){ |
| 22 | var reply=geogebra2wims( |
22 | var reply=geogebra2wims(list_of_things,0); |
| 23 | var test=reply.split(",");var found_nothing=0; |
23 | var test=reply.split(",");var found_nothing=0; |
| 24 | for(var p=0;p<test.length;p++){ |
24 | for(var p=0;p<test.length;p++){ |
| 25 | if(test[p] == 0){found_nothing++;} |
25 | if(test[p] == 0){found_nothing++;} |
| 26 | } |
26 | } |
| 27 | if(found_nothing == test.length){setAlarm(r35+"<br /> hmmm ? ");return;} |
27 | if(found_nothing == test.length){setAlarm(r35+"<br /> hmmm ? ");return;} |
| Line 74... | Line 74... | ||
| 74 | </td> |
74 | </td> |
| 75 | !if $make_tr=1 |
75 | !if $make_tr=1 |
| 76 | </tr> |
76 | </tr> |
| 77 | <tr> |
77 | <tr> |
| 78 | !endif |
78 | !endif |
| - | 79 | !set server=!replace internal /wims.cgi by $empty in $wims_ref_name |
|
| - | 80 | <td class="exercise_c"> |
|
| 79 |
|
81 | <!-- we use the GeoGebra startbutton (12/2012) --> |
| 80 | <!-- attention wims variable customToolbar for "param customToolbar" should be like " 0 | 3 | 5 " spaces matter ! --> |
82 | <!-- attention wims variable customToolbar for "param customToolbar" should be like " 0 | 3 | 5 " spaces matter ! --> |
| - | 83 | <!-- 15/6/2013 switched to Geogebra3 : to correct trouble on OpenJDK & icedtea-web plugin --> |
|
| - | 84 | <object classid="java:geogebra.GeoGebraApplet.class" type="application/x-java-applet;jpi-version=1.4" id="ggbApplet" width="164px" height="48px" > |
|
| - | 85 | <param name="java_code" value="geogebra.GeoGebraApplet" /> |
|
| - | 86 | <param name="java_codebase" value="java/geogebra3" /> |
|
| - | 87 | <param name="java_archive" value="geogebra.jar" /> |
|
| - | 88 | <param name="language" value="$taal" /> |
|
| - | 89 | <param name="type" value="button" /> |
|
| - | 90 | <param name="filename" value="$server/$module_dir/$ggb" /> |
|
| - | 91 | <param name="showToolBar" value="$showToolBar" /> |
|
| - | 92 | <param name="showMenuBar" value="$showMenuBar" /> |
|
| - | 93 | <param name="framePossible" value="$framePossible" /> |
|
| - | 94 | <param name="customToolBar" value=$customToolBar /> |
|
| - | 95 | <param name="showAlgebraInput" value="$showAlgebraInput" /> |
|
| - | 96 | <param name="mayscript" value="true" /> |
|
| 81 |
|
97 | <a onmouseover="return escape('<img src=\'$gifdir/java.jpg\' alt=\'Get JAVA\' />');" href="http://www.java.com/$lang/download/manual.jsp?locale=$lang" >$nojava</a></object> |
| 82 | !if $appletcommand != $empty |
98 | !if $appletcommand != $empty |
| 83 | <script type="text/javascript"> |
99 | <script type="text/javascript"> |
| 84 | //<![CDATA[ |
100 | //<![CDATA[ |
| 85 | $appletcommand |
101 | $appletcommand |
| 86 | //]]> |
102 | //]]> |