Difference between revisions of "Contributions:polar curve exploration"

From JSXGraph Wiki
Jump to: navigation, search
(Introducing glider controls to explore a polar curve.)
 
(Fixed checkboxes so that they actually work)
Line 8: Line 8:
 
background-color: rgb(255, 255, 255);"></div>
 
background-color: rgb(255, 255, 255);"></div>
 
<div>
 
<div>
Ruler <input type="checkbox" id="pce_curverulercheckbox" value="true" onClick="pce_changerulers()">
+
<form>
</div>
+
Ruler <input type="checkbox" value="0" onchange="pce_changerulers();" id="pce_curverulercheckbox">
 +
</form></div>
 
</td>
 
</td>
 
<td>
 
<td>
Line 16: Line 17:
 
background-color: rgb(255, 255, 255);"></div>
 
background-color: rgb(255, 255, 255);"></div>
 
<div>
 
<div>
Ruler <input type="checkbox" id="pce_graphrulercheckbox" value="true" onClick="pce_changerulers()">
+
<form>
</div>
+
Ruler <input type="checkbox" value="0" onchange="pce_changerulers();" id="pce_graphrulercheckbox">
 +
</form></div>
 
<div>
 
<div>
 
Expression : <input type="text" id="pce_expression" value="1+2*Math.cos(t)">
 
Expression : <input type="text" id="pce_expression" value="1+2*Math.cos(t)">
<input type="button" value="set" onClick="pce_changef()">
+
<input type="button" value="set" onclick="pce_changef();">
 
</div>
 
</div>
 
<div>
 
<div>
Line 246: Line 248:
 
   pce_graphbox.update();
 
   pce_graphbox.update();
 
}
 
}
 +
 
pce_changerulers();
 
pce_changerulers();
 
   /* ]]> */
 
   /* ]]> */

Revision as of 15:27, 23 March 2010

Ruler
Ruler
Expression :
Point controller :