Difference between revisions of "Circles on circles"

From JSXGraph Wiki
Jump to navigationJump to search
Line 15: Line 15:
 
range: "min",
 
range: "min",
 
min: 0,
 
min: 0,
max: 1,
+
max: 100,
value: 0.6,
+
value: 60,
 
slide: function(event, ui) {
 
slide: function(event, ui) {
$("#c1").val(ui.value);
+
$("#c1").val(ui.value*0.01);
 
}
 
}
 
});
 
});
$("#c1").val($("#slider1").slider("value"));
+
$("#c1").val($("#slider1").slider("value")*0.01);
 
});
 
});
 
</script>
 
</script>
Line 31: Line 31:
 
   </p>
 
   </p>
 
   <div id="slider1" style="height:200px;"></div>
 
   <div id="slider1" style="height:200px;"></div>
 +
  <div id="slider2" style="height:200px;"></div>
 
</div>
 
</div>
 
<div id="jsxgbox" class="jxgbox" style="width:500px; height:500px;"></div>
 
<div id="jsxgbox" class="jxgbox" style="width:500px; height:500px;"></div>

Revision as of 11:35, 29 June 2009