Synchronous file load: Difference between revisions

From JSXGraph Wiki
(Created page with "<jsxgraph width="500" height="500"> var board = JXG.JSXGraph.initBoard('jxgbox'); JXG.FileReader.parseFileContent('http://jsxgraph.uni-bayreuth.de/geonext/Unendlich.gxt', board, ...")
 
No edit summary
Line 5: Line 5:


<source lang="javascript">
<source lang="javascript">
  var brd = JXG.JSXGraph.loadBoardFromFile('jxgbox', 'http://jsxgraph.uni-bayreuth.de/geonext/Unendlich.gxt', 'Geonext');
var board = JXG.JSXGraph.initBoard('jxgbox');
JXG.FileReader.parseFileContent('http://jsxgraph.uni-bayreuth.de/geonext/Unendlich.gxt', board, 'Geonext', false);
</source>
</source>


[[Category:Examples]]
[[Category:Examples]]

Revision as of 17:49, 7 March 2012

var board = JXG.JSXGraph.initBoard('jxgbox');
JXG.FileReader.parseFileContent('http://jsxgraph.uni-bayreuth.de/geonext/Unendlich.gxt', board, 'Geonext', false);