Difference between revisions of "Another example for displaying GEONExT"

From JSXGraph Wiki
Jump to navigationJump to search
 
Line 5: Line 5:
 
<div id="box" class="jxgbox" style="width:500px; height:500px;"></div>
 
<div id="box" class="jxgbox" style="width:500px; height:500px;"></div>
 
<script type="text/javascript">
 
<script type="text/javascript">
   var brd = JXG.JSXGraph.loadBoardFromFile('box', '//jsxgraph.org/geonext/Unendlich.gxt', 'Geonext');
+
   var brd = JXG.JSXGraph.loadBoardFromFile('box', '/geonext/Unendlich.gxt', 'Geonext');
 
</script>
 
</script>
 
</source>
 
</source>
Line 14: Line 14:
 
<div id="box" class="jxgbox" style="width:500px; height:500px;"></div>
 
<div id="box" class="jxgbox" style="width:500px; height:500px;"></div>
 
<script type="text/javascript">
 
<script type="text/javascript">
   var brd = JXG.JSXGraph.loadBoardFromFile('box', '//jsxgraph.org/geonext/Unendlich.gxt', 'Geonext');
+
   var brd = JXG.JSXGraph.loadBoardFromFile('box', '/geonext/Unendlich.gxt', 'Geonext');
 
</script>
 
</script>
 
</html>
 
</html>
  
 
[[Category:Examples]]
 
[[Category:Examples]]

Latest revision as of 18:52, 24 June 2020

<link rel="stylesheet" type="text/css" href="//jsxgraph.org/distrib/jsxgraph.css" />
<script type="text/javascript" src="//jsxgraph.org/distrib/jsxgraphcore.js"></script>
<script type="text/javascript" src="//jsxgraph.org/distrib/geonext.min.js"></script>
<div id="box" class="jxgbox" style="width:500px; height:500px;"></div>
<script type="text/javascript">
  var brd = JXG.JSXGraph.loadBoardFromFile('box', '/geonext/Unendlich.gxt', 'Geonext');
</script>