''s and we do not have full control over the styling.
==== Short forms ====
Some common parameters can be set using short forms:
^ short form ^ replaced by ^
| border / bc | borderColor |
| sb / nosb | allowStyleBar=true / false|
| ld / nold | enableLabelDrags=true / false|
| rc / norc | enableRightClick=true / false|
| sdz / nosdz | enableShiftDragZoom=true / false|
| pb / nopb | playButton=true / false|
| ai / noai | showAlgebraInput=true / false|
| ab / noab | showAnimationButton=true / false|
| fsb / nofsb | showFullscreenButton=true / false|
| mb / nomb | showMenuBar=true / false|
| ri / nori | showResetIcon=true / false|
| tb / notb | showToolBar=true / false|
| zb / nozb | showZoomButtons=true / false|
== Examples ==
* In order to set a red border using the short form, you could write ''bc="#FF0000"'' or ''border="#FF0000"''.
* In order to activate the reset icon, you write ''ri''. Alternatively, if you have the reset icon globally enabled (see configuration options), you can write ''nori'' in order to disable it for the given applet.
If you feel a parameter would deserve a short form, please [[https://github.com/PhilippImhof/GeoGebrEmbed/issues/new|open an issue]] on the bug tracker.
==== Full list of supported parameters ====
Please see the [[https://wiki.geogebra.org/en/Reference:GeoGebra_App_Parameters|GeoGebra reference page]] for a complete list of parameters.
The plugin will forward any parameter to GeoGebra without further treatment, except for
* short forms, which will be converted to the corresponding official parameter and then passed on to GeoGebra
* the ''class'' parameter, which is passed to the ''
'' that will contain the applet
===== Configuration and Settings =====
You can specify a set of default options that will be used for applets where you did not locally set the corresponding parameters. Also, the first two parameters allow you to change default settings of the plugin.
^ option ^ explanation ^
| config_url | Path to GeoGebra's ''deployggb.js'' script. This script is needed in order to inject the applet(s) you want to include. It is generally fine to leave this option as is, but you might want to use your own copy of that script, e.g. for privacy reasons or for testing purposes. |
| config_threshold | As explained above, the plugin will try to guess whether you supplied a GeoGebra material ID or base64 encoded data. All alphanumeric input //not longer// than this threshold will be treated as material ID. You normally do not have to change this value, but these IDs could suddenly become much longer in the future. |
| default_width | This will be used if you do not specify a width for your applet. |
| default_height | This will be used if you do not specify a width and height for your applet. If you specify a width, but no height, this parameter is not used, because the plugin will ask GeoGebra to calculate the height accordingly. |
| default_appName | If you know that your wiki will use a certain GeoGebra app most of the time, you can use this option to save some typing. Remember that you can specify the app to be used for any given applet. |
| default_borderColor | Default border color to be used if you do not specify a color for your applet. |
| default_enableRightClick | Whether the right click functionality should be activated for applets where you do not specify this option. |
| default_enableLabelDrags | Whether the dragging of labels should be possible for applets where you do not specify this option. |
| default_enableShiftDragZoom | Whether zooming and dragging should be possible using the mouse for applets where you do not specify this option. |
| default_showZoomButtons | Whether zoom buttons should be shown in applets where you do not specify this option. |
| default_showMenuBar | Whether the menubar should be shown in applets where you do not specify this option. |
| default_showToolBar | Whether the toolbar should be shown in applets where you do not specify this option. |
| default_showAlgebraInput | Whether the input bar should be shown in applets where you do not specify this option. |
| default_showResetIcon | Whether the applet should contain a reset icon in cases where you do not specify this option. |
| default_playButton | Whether the applet should show just a preview image and a play button instead of the full content. You can always override this for any given applet. |
| default_showAnimationButton | Whether the animation button (play/pause) should be shown in applets where you do not specify this option. If the applet does not contain animations, the button will not be shown regardless of this option. |
| default_showFullscreenButton | Whether the applet should contain a button that allows switching to full-screen mode. You can always override this for any given applet. |
===== Development =====
* If you encounter a bug, please [[https://github.com/PhilippImhof/GeoGebrEmbed/issues/new|open an issue]].
* If you have a suggestion, please make a [[https://github.com/PhilippImhof/GeoGebrEmbed/pulls|pull request]]. If you do not know what that means, just [[https://github.com/PhilippImhof/GeoGebrEmbed/issues/new|open an issue]] and describe your suggestion.
=== Change Log ===
{{rss>https://github.com/PhilippImhof/GeoGebrEmbed/commits/main.atom date}}
===== FAQ =====
=== What method does this plugin use? ===
The plugin embeds GeoGebra apps using JavaScript and HTML5 as suggested by [[https://wiki.geogebra.org/en/Reference:GeoGebra_Apps_Embedding|the relevant GeoGebra support page]].