对打开的对话框进行最小化操作

当前页面test.html脚本:

<script type="text/javascript">
var mdless=window.showModelessDialog('floatp.html','','dialogHeight: 500px; dialogWidth: 800px; edge: Raised; center: Yes; help: No; resizable: Yes; status: No');
function closedialog()
{
      //mdless.close();
      mdless.onLoad()=mdless.hh1.Click();
}
setTimeout('closedialog()',15000);
</script>

对话框加载页面floatp.html:

<body>
<object id=hh1 classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">
<param name="Command" value="Minimize"></object>
</body>

你可能感兴趣的:(对话框)