Learn more about properties description and window's actions.
You can find a code of these examples below:
<HEAD>
<style>
.title
{
FONT-WEIGHT: bolder;
font-weight: bold;
FONT-SIZE: 8pt;
FONT-FAMILY: Times New Roman;
TEXT-ALIGN: left
}
</style>
<script language="javascript1.2" src="codethatsdk.js"></script>
<script language="javascript1.2" src="codethatform_windowed.js"></script>
<script language="javascript1.2">
var w;
var html = "<table border=0 cellpadding=0 cellspacing=0 " +
"width=100%><tr><td>"+
"<img src='img/first_bg.gif'></td></tr></table>";
function wincreate () {
w = new CWindow(384, 236, 50, 100,
'CodeThatJSForm - windowed',
html,'#761500','','','',0,0);
w.create();
}
</script>
</head>
<body>
<form>
<p>Click <input class=btn type=button
onclick="wincreate()" value="Create Win"> to
create simple window and click <input class=btn
type=button onclick="layercreate()" value="Create Layer">
to create Layered Form at the current window.
</form>
</body>
</html>