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_out=Applet GeoGebra
slib_comment=the available applet commands are either the definition of an object\

or javascript methods. For syntax details on how to create objects, you can report to the GeoGebra help page : \

 www.geogebra.org/help/docufr (http://www.geogebra.org/help/docufr/)\

There are a lot of available javascript methods: for example, \

\

evalCommand setValue setColor setVisible \
  setLabelVisible setFixed setTrace\
  setAxesVisible setGridVisible setCoordSystem\
  deleteObject renameObject setLayerVisible\
  setLineStyle setAnimationSpeed startAnimation\

\
The complete list  is here. (http://www.geogebra.org/en/wiki/index.php/GeoGebra_JavaScript_Methods)\

Allowed options are the followings (see  \
here (http://www.geogebra.org/en/wiki/index.php/GeoGebra_Applet_Parameters) for details).\

height default 300\

width default 300\

file default none. Be careful : the .ggb file must be in the "image" \
directory if you use the slib in an OEF exercise, \

in the "files" directory if you use the slib in a document ;\

otherwise you have to use relative adress from module directory.\

showToolBar default false\

customToolBar default none. Be careful : no comma is allowed and if you want \

to separate two integers by a space-character, type a @ instead of this space-character ! \
The list of the icones is here (http://www.geogebra.org/source/program/doc/geogebra_modes.html)\

showMenuBar default false\

showAlgebraInput default false\

showAlgebraView default true\

showResetIcon default false (Be careful : this option enable to \
reset the applet, but without the construction done from wims)\

showToolBarHelp default true\

enableRightClick default true (Be careful : by right-clicking \
on an object, the student can modify all the objects in the construction !)\

language default fr\

enableLabelDrags default true\

enableShiftDragZoom default true\

errorDialogsActive default true\

debug default false\

number number of the applet in the html page (default 1)\

 In case of filestring, write ggbBase64=the_filestring\
without space and on the first line.\
<p>EXAMPLE\

\integer{x=random(3)}\
\text{appletcommand= Z=(\x,3.78)\\
W=(6.2,2.8)\\
Ellipse[Z,W,5]\\
u=Line[W,Z]}\
#the language can be setted in the options\
\text{option= showToolBar=true\
language=en\
customToolBar="0|5@40 10||1|2"\
width=600\
height=500\
number=1\
\text{applet=slib(geo2D/geogebra3  \appletcommand ; \option)}\
\statement{\applet}\

