Difference between revisions of "Circles on circles"

From JSXGraph Wiki
Jump to navigationJump to search
Line 62: Line 62:
 
<script language="JavaScript">
 
<script language="JavaScript">
 
  board = JXG.JSXGraph.initBoard('jsxgbox', {originX: 250, originY: 250, unitX: 100, unitY: 100});
 
  board = JXG.JSXGraph.initBoard('jsxgbox', {originX: 250, originY: 250, unitX: 100, unitY: 100});
alert($("#sliderc1").value);
+
alert($("#sliderc1").slider("value"));
 
  var c = board.createElement('curve', [
 
  var c = board.createElement('curve', [
 
               function(t) { return Math.cos(t)+ 0.5*Math.cos(3*t);},
 
               function(t) { return Math.cos(t)+ 0.5*Math.cos(3*t);},

Revision as of 13:00, 29 June 2009