When I run the following script at IE, the select box comes up fine. However when I 
load it under Nav4.x, all of the tags are stripped and only the content of the options 
is displayed one after the other in plain text.

<html>
<head><title>Creating a Dynlayer</title>
<script language="javascript" src="../src/dynapi.js"></script>
<script language="javascript">

DynAPI.setLibraryPath("../src/lib/");
DynAPI.include("dynapi.api.*");
DynAPI.onLoad = function() {
    var str = "<select><option>xxx</option><option>yyy</option></select>"; 
    myLayer = new DynLayer();
    myLayer.setSize(290, 200);
    myLayer.moveTo(100, 100); 
    myLayer.setHTML(str); 
    DynAPI.document.addChild(myLayer);
}

</script>
</head>
<body>
</body>
</html>

______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup

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

Reply via email to