Difference between revisions of "Rational functions"

From JSXGraph Wiki
Jump to navigationJump to search
Line 3: Line 3:
 
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/prototype.js"></script>
 
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/prototype.js"></script>
 
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
 
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<div style="float.left"><form><input type="button" value="Add point" onClick="addPoint1()"></form>
+
<div style="float:left"><form><input type="button" value="Add point" onClick="addPoint1()"></form>
 
<div id="box1" class="jxgbox" style="width:300px; height:400px;"></div></div>
 
<div id="box1" class="jxgbox" style="width:300px; height:400px;"></div></div>
<form><input type="button" value="Add point" onClick="addPoint1()"></form>
+
<form><input type="button" value="Add point" onClick="addPoint2()"></form>
<div id="box1" class="jxgbox" style="width:300px; height:400px;"></div>
+
<div><div id="box2" class="jxgbox" style="width:300px; height:400px;"></div></div>
 
<script language="JavaScript">
 
<script language="JavaScript">
 
         board = JXG.JSXGraph.initBoard('box1', {originX: 150, originY: 200, unitX: 30, unitY: 25});
 
         board = JXG.JSXGraph.initBoard('box1', {originX: 150, originY: 200, unitX: 30, unitY: 25});

Revision as of 15:17, 15 December 2008