In the following code the
 -) "edTest" input element does not show-up in Netscape (4.7 - Linux and
4.08 Win95)
 -) select element in "frmSel" does not show-up in Netscape (4.7 - Linux)

can anyone tell me why is this happening?

thanks

Andreas Gortsilas

==================================

<html>

<head>
  <title>Combo-box sample</title>
  
  <script language="Javascript1.1" src="/SrcDC/_gen/dynapi.js"></script>
  <script language="Javascript1.1">
  <!--
  DynAPI.setLibraryPath('/SrcDC/_gen/')

  DynAPI.include('dynacore.api.*')
  DynAPI.include('dynacore.ext.keyevents')
  
  var dlrCB, dlrEd;
  
  alert('onload')
  
  DynAPI.onLoad=function() {
    myLayer = new DynLayer()
    myLayer.setSize(200,100)
    myLayer.setBgColor('#c0c0c0')
    myLayer.moveTo(100,100)
    dlrCB = new DynLayer(null,25,25,100,30,'#ffffff')
    dlrEd = new DynLayer(null,25,60,100,30,'#ffffff')

    myLayer.addChild(dlrCB, dlrEd)
    this.document.addChild(myLayer)
    dlrCB.setHTML('<form id="frmSel" name="frmSel"><select
onkeypress="DoOnKeyPress()"
style="width:100%"><option>value1<option>value2<option>value3</select></form
>')
    dlrEd.setHTML('<form id="frmEdt" name="frmEdt"><input type="text"
id="edTest" name="edTest" style="width:100%" value="testing"></form>')
  }
  //-->
  </script>
</head>

<body>
  <form><input value=test></form>
</body>

</html>


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to