Circles on circles: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 12: Line 12:
$(function() {
$(function() {
$("#slider1").slider({
$("#slider1").slider({
orientation: "vertical",
orientation: "vertical",range: "min",min: 0,max: 100,value: 60,
range: "min",
min: 0,
max: 100,
value: 60,
slide: function(event, ui) {
slide: function(event, ui) {
$("#c1").val(ui.value*0.01);
$("#c1").val(ui.value*0.01);
Line 30: Line 26:
     <input type="text" id="c1" style="border:0; color:#f6931f; font-weight:bold;" />
     <input type="text" id="c1" style="border:0; color:#f6931f; font-weight:bold;" />
   </p>
   </p>
   <div id="slider1" style="height:200px;"></div>
   <span id="slider1" style="height:200px;"></span>
   <div id="slider2" style="height:200px;"></div>
   <span id="slider2" style="height:200px;"></span>
</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:36, 29 June 2009