1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2<html>
3	<head>
4		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5		<title>AppletArguments</title>
6	</head>
7	<body>
8<a name="Applet_Parameters"></a><h3 style="font-family: Helvetica,Arial,sans-serif;">Applet Parameters</h3>
9<p style="font-family: Helvetica,Arial,sans-serif;">The following parameters may be used within the applet tag.</p>
10<table style="width: 100%; text-align: left;" border="1" cellpadding="2" cellspacing="2">
11    <tr>
12      <td style="width: 16%; height: 23px;"><b>name</b></td>
13      <td height="23" width="29%"><b>value</b></td>
14
15      <td height="23" width="55%"><b>description</b></td>
16      <td>since</td>
17    </tr>
18    <tr>
19      <td height="22" width="16%">filename</td>
20      <td height="22" width="29%">e.g. "circle.ggb"</td>
21      <td height="22" width="55%">filename of construction file (ggb file)</td>
22
23      <td style="text-align: center;">2.5</td>
24	  <td>implemented by DokuWiki-Plugin</td>
25    </tr>
26    <tr>
27      <td height="44" width="16%">type</td>
28      <td height="44" width="29%">button</td>
29      <td height="44" width="55%">if you use this parameter the applet will only show a button to open the GeoGebra application frame</td>
30      <td style="text-align: center;">2.5</td>
31
32    </tr>
33    <tr>
34      <td height="66" width="16%">framePossible</td>
35      <td height="66" width="29%">true
36or false</td>
37      <td height="66" width="55%">states if a double click on the drawing pad should open the GeoGebra application frame. This parameter is ignored if the type was set to "button", default: true</td>
38      <td style="text-align: center;">2.5</td>
39	  <td>implemented by DokuWiki-Plugin</td>
40    </tr>
41
42    <tr>
43      <td height="43" width="16%">bgcolor</td>
44      <td height="43" width="29%">e.g. "#FFFFFF" for white</td>
45      <td height="43" width="55%">background color (as hex rgb string) of the applet. This parameter is only used if type "button" was set, default: white</td>
46      <td style="text-align: center;">2.5</td>
47	  <td>implemented by DokuWiki-Plugin</td>
48    </tr>
49    <tr>
50
51      <td>borderColor</td>
52      <td>e.g. "#FFFFFF" for white</td>
53      <td>color of the border line drawn around the applet panel&nbsp;(as hex rgb string), default: gray</td>
54      <td style="text-align: center;">3.0</td>
55	  <td>implemented by DokuWiki-Plugin</td>
56    </tr>
57    <tr>
58
59      <td>enableRightClick</td>
60      <td>true or false</td>
61      <td>states whether right clicks should be handled by the applet. Setting this parameter&nbsp;to "false" disables context menus, properties dialogs and right-click-zooming. Default: true <br /> NB also enables/disables some keyboard shortcuts eg Delete and Ctrl-R (recompute all objects)</td>
62      <td style="text-align: center;">3.0</td>
63	  <td>implemented by DokuWiki-Plugin</td>
64    </tr>
65
66    <tr>
67      <td>enableLabelDrags</td>
68      <td>true or false</td>
69      <td>states whether labels can be dragged. Default: true</td>
70      <td style="text-align: center;">3.2</td>
71	  <td>implemented by DokuWiki-Plugin</td>
72    </tr>
73    <tr>
74
75      <td>enableShiftDragZoom</td>
76      <td>true or false</td>
77      <td>states whether the drawing pad should be moveable using Shift + mouse drag (or. Ctrl +&nbsp;mouse drag) or zoomable using Shift + mouse wheel (or Ctrl + mouse wheel). Setting this parameter to "false" disables moving and zooming of the drawing pad. Default: true</td>
78      <td style="text-align: center;">3.0</td>
79	  <td>implemented by DokuWiki-Plugin</td>
80    </tr>
81    <tr>
82
83      <td>errorDialogsActive</td>
84      <td>true or false</td>
85      <td>states whether error dialogs will be shown if an invalid input is entered (using the Input Bar or JavaScript) Default: true</td>
86      <td style="text-align: center;">3.2</td>
87	  <td>implemented by DokuWiki-Plugin</td>
88    </tr>
89    <tr>
90      <td height="43" width="16%">showMenuBar</td>
91
92      <td height="43" width="29%">true or false</td>
93      <td height="43" width="55%">states whether the menubar of
94GeoGebra should be shown in the applet, default: false</td>
95      <td style="text-align: center;">2.5</td>
96	  <td>implemented by DokuWiki-Plugin</td>
97    </tr>
98    <tr>
99      <td height="43" width="16%">showToolBar</td>
100      <td height="43" width="29%">true or false</td>
101      <td height="43" width="55%">states whether the toolbar with the
102construction mode buttons should be shown in the applet, default: false</td>
103      <td style="text-align: center;">2.5</td>
104	  <td>implemented by DokuWiki-Plugin</td>
105    </tr>
106    <tr>
107      <td height="43" width="16%">maxIconSize</td>
108      <td height="43" width="29%">16 to 32</td>
109      <td height="43" width="55%">maximum size of icons used in the toolbar in pixels, default: 32</td>
110
111      <td style="text-align: center;">3.2</td>
112	  <td>implemented by DokuWiki-Plugin (2009/12/06)</td>
113    </tr>
114    <tr>
115      <td height="43" width="16%">showToolBarHelp</td>
116      <td height="43" width="29%">true
117or false</td>
118      <td height="43" width="55%">states whether the toolbar help text right to the toolbar buttons should be shown in the applet</td>
119      <td style="text-align: center;">3.0</td>
120	  <td>implemented by DokuWiki-Plugin</td>
121    </tr>
122    <tr>
123      <td>customToolBar</td>
124      <td>e.g.&nbsp;"0 | 1 2 | 3 , 4 || 5 6 7"</td>
125      <td>sets the toolbar according to a custom toolbar string where the int values are <a href="/en/wiki/index.php/GeoGebra_Toolbar_Mode_Values" title="GeoGebra Toolbar Mode Values">Toolbar Mode Values</a>, "," adds a separator within a menu, "|" starts a new menu and "||" adds a separator in the toolbar before starting a new menu.
126Custom tools are numbered 1001, 1002, etc</td>
127      <td style="text-align: center;">2.5</td>
128	  <td>implemented by DokuWiki-Plugin (2009/12/06)</td>
129
130    </tr>
131    <tr>
132      <td height="43" width="16%">showAlgebraInput</td>
133      <td height="43" width="29%">true or false</td>
134      <td height="43" width="55%">states whether the algebra input line (with input field, greek letters and command list) should be shown in the applet</td>
135      <td style="text-align: center;">2.5</td>
136  	  <td>implemented by DokuWiki-Plugin</td>
137    </tr>
138
139    <tr>
140      <td height="43" width="16%">showResetIcon</td>
141      <td height="43" width="29%">true
142or false</td>
143      <td height="43" width="55%">states whether a small icon (GeoGebra ellipse) should be shown in the upper right corner of the applet.
144Clicking on this icon resets the applet (i.e. it reloads the file given in the filename parameter).</td>
145      <td style="text-align: center;">2.5</td>
146	  <td>implemented by DokuWiki-Plugin</td>
147    </tr>
148    <tr>
149
150      <td height="43" width="16%">language</td>
151      <td height="43" width="29%">iso language string<br />
152<p>en ... English<br />
153fr ... French<br />
154it ... Italian<br />
155de ... German<br />
156es ... Spanish<br />
157sl ... Slovenian<br />
158
159</p>
160zh ... Chinese</td>
161      <td height="43" width="55%">GeoGebra tries to set your local
162<p>language automatically (if it is available among the supported
163languages, of course). The default language for unsupported languages
164is English.<br />
165If you want to specify a certain language manually, please use this
166</p>
167parameter.</td>
168      <td style="text-align: center;">2.5</td>
169	  <td>implemented by DokuWiki-Plugin</td>
170    </tr>
171    <tr>
172
173      <td>country<br />
174      </td>
175      <td>iso country string<br />
176<p>AT ... Austria<br />
177</p>
178      </td>
179      <td>This parameter only makes sense if you use it together with
180the language parameter.</td>
181      <td style="text-align: center;">2.5</td>
182	  <td>implemented by DokuWiki-Plugin</td>
183
184    </tr>
185    <tr>
186      <td>ggbOnInitParam<br />
187      </td>
188      <td>eg "applet2"
189      </td>
190      <td>This parameter allows you to specify the argument passed to the JavaScript function ggbOnInit(), which is called once the applet is fully initialised. This is useful when you have multiple applets on a page.<br />
191             (will have no effect in earlier versions)<br /></td>
192
193      <td style="text-align: center;">3.2</td>
194	  <td>implemented by DokuWiki-Plugin (2009/12/06)</td>
195    </tr>
196    <tr>
197      <td>java_arguments<br />
198      </td>
199      <td>eg -Xmx256m
200      </td>
201      <td>This parameter allows you to specify more memory (in megabytes) for the GeoGebra applet<br /><b>Works only in Java 6 update 10 or later</b><br />
202
203             (will have no effect in earlier versions)<br /></td>
204      <td style="text-align: center;">3.2</td>
205	  <td>implemented by DokuWiki-Plugin (2009/12/06)</td>
206    </tr>
207</table>
208	</body>
209</html>
210