Subversion Repositories wimsdev

Rev

Rev 4903 | Rev 5903 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4903 Rev 5768
Line 3... Line 3...
3
slib_title=Geogebra Applet
3
slib_title=Geogebra Applet
4
slib_parms=1\
4
slib_parms=1\
5
,option or applet command for javascript, one by line or joined by a semicolon 
5
,option or applet command for javascript, one by line or joined by a semicolon 
6
slib_out=Applet GeoGebra
6
slib_out=Applet GeoGebra
7
slib_comment=the available applet commands are either the definition of an object\
7
slib_comment=the available applet commands are either the definition of an object\
8
<br>or javascript methods. For syntax details on how to create objects, you can report to the GeoGebra help page : \
8
<br/>or javascript methods. For syntax details on how to create objects, you can report to the GeoGebra help page : \
9
<br><a target="wims_external" href="http://www.geogebra.org/help/docufr/"> www.geogebra.org/help/docufr</a>\
9
<br/><a target="wims_external" href="http://www.geogebra.org/help/docufr/"> www.geogebra.org/help/docufr</a>\
10
<br>There are a lot of available javascript methods: for example, \
10
<br/>There are a lot of available javascript methods: for example, \
11
<br>\
11
<br/>\
12
<pre class="wims_code_words">evalCommand setValue setColor setVisible \
12
<pre class="wims_code_words">evalCommand setValue setColor setVisible \
13
  setLabelVisible setFixed setTrace\
13
  setLabelVisible setFixed setTrace\
14
  setAxesVisible setGridVisible setCoordSystem\
14
  setAxesVisible setGridVisible setCoordSystem\
15
  deleteObject renameObject setLayerVisible\
15
  deleteObject renameObject setLayerVisible\
16
  setLineStyle setAnimationSpeed startAnimation\
16
  setLineStyle setAnimationSpeed startAnimation\
17
</pre>\
17
</pre>\
18
The complete list <a target="wims_external" href="http://www.geogebra.org/en/wiki/index.php/GeoGebra_JavaScript_Methods"> is here.</a>\
18
The complete list <a target="wims_external" href="http://www.geogebra.org/en/wiki/index.php/GeoGebra_JavaScript_Methods"> is here.</a>\
19
<br>Allowed options are the followings (see <a target="wims_external" href="http://www.geogebra.org/en/wiki/index.php/GeoGebra_Applet_Parameters"> \
19
<br/>Allowed options are the followings (see <a target="wims_external" href="http://www.geogebra.org/en/wiki/index.php/GeoGebra_Applet_Parameters"> \
20
here</a> for details).\
20
here</a> for details).\
21
<br><tt class="wims_code_words">height</tt> default <tt class="wims_code_words">300</tt>\
21
<br/><tt class="wims_code_words">height</tt> default <tt class="wims_code_words">300</tt>\
22
<br><tt class="wims_code_words">width</tt> default <tt class="wims_code_words">300</tt>\
22
<br/><tt class="wims_code_words">width</tt> default <tt class="wims_code_words">300</tt>\
23
<br><tt class="wims_code_words">file</tt> default <tt class="wims_code_words">none</tt>&#46; Be careful &#58; the &#46;ggb file must be in the "image" \
23
<br/><tt class="wims_code_words">file</tt> default <tt class="wims_code_words">none</tt>&#46; Be careful &#58; the &#46;ggb file must be in the "image" \
24
directory if you use the slib in an OEF exercise, \
24
directory if you use the slib in an OEF exercise, \
25
<br>in the "files" directory if you use the slib in a document ;\
25
<br/>in the "files" directory if you use the slib in a document ;\
26
<br>otherwise you have to use relative adress from module directory.\
26
<br/>otherwise you have to use relative adress from module directory.\
27
<br><tt class="wims_code_words">showToolBar</tt> default <tt class="wims_code_words">false</tt>\
27
<br/><tt class="wims_code_words">showToolBar</tt> default <tt class="wims_code_words">false</tt>\
28
<br><tt class="wims_code_words">customToolBar</tt> default <tt class="wims_code_words">none</tt>. Be careful : no comma is allowed and if you want \
28
<br/><tt class="wims_code_words">customToolBar</tt> default <tt class="wims_code_words">none</tt>. Be careful : no comma is allowed and if you want \
29
<br>to separate two integers by a space-character, type a <tt class="wims_code_words">@</tt> instead of this space-character ! \
29
<br/>to separate two integers by a space-character, type a <tt class="wims_code_words">@</tt> instead of this space-character ! \
30
The list of the icones <a target="wims_external" href="http://www.geogebra.org/source/program/doc/geogebra_modes.html">is here</a>\
30
The list of the icones <a target="wims_external" href="http://www.geogebra.org/source/program/doc/geogebra_modes.html">is here</a>\
31
<br><tt class="wims_code_words">showMenuBar</tt> default <tt class="wims_code_words">false</tt>\
31
<br/><tt class="wims_code_words">showMenuBar</tt> default <tt class="wims_code_words">false</tt>\
32
<br><tt class="wims_code_words">showAlgebraInput</tt> default <tt class="wims_code_words">false</tt>\
32
<br/><tt class="wims_code_words">showAlgebraInput</tt> default <tt class="wims_code_words">false</tt>\
33
<br><tt class="wims_code_words">showAlgebraView</tt> default <tt class="wims_code_words">true</tt>\
33
<br/><tt class="wims_code_words">showAlgebraView</tt> default <tt class="wims_code_words">true</tt>\
34
<br><tt class="wims_code_words">showResetIcon</tt> default <tt class="wims_code_words">false</tt> (Be careful : this option enable to \
34
<br/><tt class="wims_code_words">showResetIcon</tt> default <tt class="wims_code_words">false</tt> (Be careful : this option enable to \
35
reset the applet, but without the construction done from wims)\
35
reset the applet, but without the construction done from wims)\
36
<br><tt class="wims_code_words">showToolBarHelp</tt> default <tt class="wims_code_words">true</tt>\
36
<br/><tt class="wims_code_words">showToolBarHelp</tt> default <tt class="wims_code_words">true</tt>\
37
<br><tt class="wims_code_words">enableRightClick</tt> default <tt class="wims_code_words">true</tt> (Be careful : by right-clicking \
37
<br/><tt class="wims_code_words">enableRightClick</tt> default <tt class="wims_code_words">true</tt> (Be careful : by right-clicking \
38
on an object, the student can modify all the objects in the construction !)\
38
on an object, the student can modify all the objects in the construction !)\
39
<br><tt class="wims_code_words">language</tt> default <tt class="wims_code_words">fr</tt>\
39
<br/><tt class="wims_code_words">language</tt> default <tt class="wims_code_words">fr</tt>\
40
<br><tt class="wims_code_words">enableLabelDrags</tt> default <tt class="wims_code_words">true</tt>\
40
<br/><tt class="wims_code_words">enableLabelDrags</tt> default <tt class="wims_code_words">true</tt>\
41
<br><tt class="wims_code_words">enableShiftDragZoom</tt> default <tt class="wims_code_words">true</tt>\
41
<br/><tt class="wims_code_words">enableShiftDragZoom</tt> default <tt class="wims_code_words">true</tt>\
42
<br><tt class="wims_code_words">errorDialogsActive</tt> default <tt class="wims_code_words">true</tt>\
42
<br/><tt class="wims_code_words">errorDialogsActive</tt> default <tt class="wims_code_words">true</tt>\
43
<br><tt class="wims_code_words">debug</tt> default <tt class="wims_code_words">false</tt>\
43
<br/><tt class="wims_code_words">debug</tt> default <tt class="wims_code_words">false</tt>\
44
<br><tt class="wims_code_words">number</tt> number of the applet in the html page (default <tt class="wims_code_words">1</tt>)\
44
<br/><tt class="wims_code_words">number</tt> number of the applet in the html page (default <tt class="wims_code_words">1</tt>)\
45
<br> In case of filestring, write <tt class="wims_code_words">ggbBase64=the_filestring</tt>\
45
<br/> In case of filestring, write <tt class="wims_code_words">ggbBase64=the_filestring</tt>\
46
without space and on the first line.\
46
without space and on the first line.\
47
<p>EXAMPLE\
47
<p>EXAMPLE\
48
<pre>&#92;integer{x=random(3)}\
48
<pre>&#92;integer{x=random(3)}\
49
&#92;text{appletcommand= Z=(&#92;x,3.78)&#92;\
49
&#92;text{appletcommand= Z=(&#92;x,3.78)&#92;\
50
W=(6.2,2.8)&#92;\
50
W=(6.2,2.8)&#92;\