Subversion Repositories wimsdev

Rev

Rev 4895 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

slib_lang_exists_tmp=yes

slib_title=Geogebra Applet
slib_parms=1\
,option or applet command for javascript, one by line or joined by a semicolon 

slib_comment=the available applet commands are either the definition of an object\
<br>or javascript methods. For syntax details on how to create objects, you can report to the GeoGebra help page : \
<a target="wims_external" href="http://www.geogebra.org/help/docufr/"> www.geogebra.org/help/docufr </a>\
There are a lot of available javascript methods : for example, \
<tt>evalCommand setValue setColor setVisible \
  setLabelVisible setFixed setTrace\
  setAxesVisible setGridVisible setCoordSystem\
  deleteObject renameObject setLayerVisible\
  setLineStyle setAnimationSpeed startAnimation</tt>\
The complete list <a target="wims_external" href="http://www.geogebra.org/en/wiki/index.php/GeoGebra_JavaScript_Methods"> is here.</a>\
<br><br>Allowed options are the followings. See <a target="wims_external" href="http://www.geogebra.org/en/wiki/index.php/GeoGebra_Applet_Parameters"> here for details.</a>\
<br><tt>height</tt> default 300\
<br><tt>width</tt> default 300\
<br><tt>file</tt> default none&#46; Be careful &#58; the &#46;ggb file must be in the "image" \
directory if you use the slib in an OEF exercise, \
<br>in the "files" directory if you use the slib in a document ;\
<br>otherwise you have to use relative adress from module directory.\
<br><tt>showToolBar</tt> default false\
<br><tt>customToolBar</tt> default none. Be careful : no comma is allowed and if you want \
<br>to separate two integers by a space-character, type a "@" instead of this space-character ! \
The list of the icones <a target="wims_external" href="http://www.geogebra.org/source/program/doc/geogebra_modes.html">is here</a>\
<br><tt>showMenuBar</tt> default false\
<br><tt>showAlgebraInput</tt> default false\
<br><tt>showResetIcon</tt> default false (Be careful : this option enable to \
reset the applet, but without the construction done from wims)\
<br><tt>showToolBarHelp</tt> default true\
<br><tt>enableRightClick</tt> default true (Be careful : by right-clicking \
on an object, the student can modify all the objects in the construction !)\
<br><tt>language</tt> default fr\
<br><tt>enableLabelDrags</tt> default true\
<br><tt>enableShiftDragZoom</tt> default true\
<br><tt>errorDialogsActive</tt> default true\
<br><tt>debug</tt> default false\
<br><tt>number</tt> number of the applet in the html page (default 1)
<br><tt>EXAMPLE\
<br><tt>&#92;integer{x=random(3)}\
<br><tt>&#92;text{appletcommand= Z=(&#92;x,3.78)&#92;\
<br><tt>W=(6.2,2.8)&#92;\
<br><tt>Ellipse[Z,W,5]&#92;\
<br><tt>u=Line[W,Z]}\
<br><tt>#the language can be setted in the options\
<br><tt>&#92;text{option= showToolBar=true\
<br><tt>language=en\
<br><tt>customToolBar="0|5@40 10||1|2"\
<br><tt>width=600\
<br><tt>height=500\
<br><tt>number=1</tt>
<br><tt>#to hide the algebra window (on the left), use a ".ggb" file in the options\
<br><tt>&#92;text{applet=slib(geo2D/geogebra3  &#92;appletcommand ; &#92;option)}\
<br><tt>&#92;statement{&#92;applet}

Generated by GNU Enscript 1.6.5.90.