Knob in JavaScript : Knob « Ajax Layer « JavaScript DHTML






Knob in JavaScript


http://dynapi.sourceforge.net/
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
<html>
<head>
<title>DynAPI Examples - Knob</title>
<script language="JavaScript" src="./dynapisrc/dynapi.js"></script>
<script language="Javascript">
  dynapi.library.setPath('./dynapisrc/');
  dynapi.library.include('dynapi.api');
  dynapi.library.include('Knob');
</script>
<script language="Javascript">

// Set BlueGel Image Path
// Styles.setImagePath('./dynapiexamples/images/bluegel/');


var kn = new Knob(0,0,16,60);
var kn2 = new Knob(200,100,16,16);

var lyr = new DynLayer(null,300,10,16,200,'#eeeeee')
lyr.addChild(kn);

dynapi.document.addChild(lyr);
dynapi.document.addChild(kn2);

</script>
</head>
<body bgcolor="#FFFFFF">
<script>
  dynapi.document.insertAllChildren();
</script>
</body>
</html>
           
       








dynapi.zip( 791 k)

Related examples in the same category