RadioButton in a Group : RadioButton : GUI Components JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » GUI Components » RadioButton »

 

RadioButton in a Group




<html>
<head>
<title>DynAPI Examples - RadioButton</title>
<script language="JavaScript" src="./dynapisrc/dynapi.js"></script>
<script language="Javascript">
  dynapi.library.setPath('./dynapisrc/');
  dynapi.library.include('dynapi.api');
  dynapi.library.include('RadioButton');
</script>
<script language="Javascript">

  rad0=new RadioButton('Red',100,100,100,16,null,true)
  rad1=new RadioButton('Yellow',100,115,100,16)
  rad2=new RadioButton('Blue',100,130,100,16)
  rad3=new RadioButton('Female',0,0,100,16)
  rad4=new RadioButton('Male',0,15,100,16)

  mylayer=new DynLayer(null,200,200,100,50)

  dynapi.document.addChild(rad0)
  dynapi.document.addChild(rad1)
  dynapi.document.addChild(rad2)

  DynAPI.document.addChild(mylayer)

  mylayer.addChild(rad3)
  mylayer.addChild(rad4)

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

           
       

Download : Download nav_dynapi.zip nav_dynapi.zip


-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo GUI Components
» RadioButton