Displaying Intergeo constructions

From JSXGraph Wiki
Revision as of 19:42, 15 September 2008 by 84.147.77.45 (talk) (New page: === Loading a Intergeo construction from a file === Here, we load the content of the Intergeo file "pythagoras.i2g" into JSXGraph, i.e. into the division with the id "box". <source lang="xml"> <div...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Loading a Intergeo construction from a file

Here, we load the content of the Intergeo file "pythagoras.i2g" into JSXGraph, i.e. into the division with the id "box".

<div id="box" class="jxgbox" style="width:500px; height:500px;"></div>
<script type="text/javascript">
  var brd = JXG.JSXGraph.loadBoardFromFile('box', 'pythagoras.i2g', 'Intergeo');
</script>