windowObj.setZIndex(z)
windowObj : ウィンドウオブジェクト
z : Z座標
win02 = new Window("win02", {
title: "ウィンドウ02", className: "dialog", top:150, left:180, zIndex: 101,
width:320, height:240, resizable: true, draggable:true });
win02.setDestroyOnClose();
win02.show();
}
function setZ(){
win01.setZIndex($F("Z"));
}
// --></script>
</head>
<body>
<h1>Z座標を設定する</h1>
<form>
Z座標:<input type="text" id="Z" value="102" size="20">
<input type="button" value="ウィンドウ01のZ座標を設定" onClick="setZ()">
</form>
</body>
</html>