slib_lang_exists_tmp=yes
slib_title=Plugin for JSXGraph responsive
slib_parms=3\
,id and name of the board of the JSXGraph applet in this order and separated by space.\
,[size , options separated by spaces] in square brackets.

- size: width x height(in px)
- options:

- center to center the applet in its parent;
- min= npx or n% or ... to indicate the minimum width of the applet below which it cannot be reduced;
- max= npx or n% or ... to indicate the minimum width of the applet above which it cannot be enlarged;
- nocssjs to not call the CSS and javascript via the slib (see comments below);
- scroll to add a scroll bar in case of overflow.

\
,script for construction in JSXGraph language.

slib_out=Figure in JSXGraph
slib_comment= 
\
- Backward compatibility: applets created with the old syntax (id,width x height,script) are still in non responsive mode but a scroll bar appears in case of overflow.\
- The embedded version of JSXGraph is 1.11.1 (new functions and 3D objects).\
- By default, the CSS style and the javascript used by JSXGraph are automatically called by the slib \
unless the nocssjs option is set.
\
In the case of the nocssjs option, \
it is then necessary to call the CSS and javascript with  \
<link rel="stylesheet" href="scripts/js/jsxgraph/jsxgraph.css"> \
and <script src="scripts/js/jsxgraph/jsxgraphcore.js" charset="utf-8"></script> \
in \css{} for example for an OEF exercise.
\
- One can define some css style for .jxgbox and .jsxgraph_button.\
 For example: \
 
<style>\
.jxgbox {margin-left:auto;margin-right:auto}\
.jsxgraph_button {text-align:center;}\
</style>
\

