Difference between revisions of "Use the MediaWiki extension for JSXGraph"

From JSXGraph Wiki
Jump to navigationJump to search
Line 2: Line 2:
  
 
<!--<jsxgraph height="500" width="600" filename="Wuerfel_drehbar_dreieck.gxt" />-->
 
<!--<jsxgraph height="500" width="600" filename="Wuerfel_drehbar_dreieck.gxt" />-->
<jsxgraph height="500" width="600" />
+
<jsxgraph height="500" width="600">
 
  board = JXG.JSXGraph.initBoard('jxgbox', {originX: 250, originY: 250, unitX: 25, unitY: 25});
 
  board = JXG.JSXGraph.initBoard('jxgbox', {originX: 250, originY: 250, unitX: 25, unitY: 25});
 
  var a = board.createElement('slider', [[1,-1],[5,-1],[0,1,4]]);
 
  var a = board.createElement('slider', [[1,-1],[5,-1],[0,1,4]]);

Revision as of 12:50, 19 February 2009

An extension to include JSXgraph in MediaWiki is under development.

To display the above example, a GEONExT file has to be uploaded and the following code has to be included in a MediWiki page:

<jsxgraph height="500" width="600" filename="Wuerfel_drehbar_dreieck.gxt" />