Circles on circles: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
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 10:35, 29 June 2009