main.htm 代码如下:
<script language="javascript">
function datacheck() {
input1.target="preview";
input1.action=hf;
var win = window.open("about:blank","preview","directorys=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,width=560,height=520,top="+(window.screen.height-520)/2+",left="+(window.screen.width-560)/2+"");
win.focus();
input1.submit();
}
</script> <form name="input1" METHOD="POST">
<input type="text" name="txt" value="xxxxx">
<input type="button" value="确认提交" onClick="datacheck();">
</form> 我想让弹出的窗口print.asp始终在其他窗口之上 没关闭之前不允许操作其他的界面
我也用过showModalDialog()但是我还要在其上打开其他的窗口 ,所有舍showModalDialog() 用window.open() 但是不能始终在上?二者有谁可以解决其一 即可
<script language="javascript">
function datacheck() {
input1.target="preview";
input1.action=hf;
var win = window.open("about:blank","preview","directorys=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,width=560,height=520,top="+(window.screen.height-520)/2+",left="+(window.screen.width-560)/2+"");
win.focus();
input1.submit();
}
</script> <form name="input1" METHOD="POST">
<input type="text" name="txt" value="xxxxx">
<input type="button" value="确认提交" onClick="datacheck();">
</form> 我想让弹出的窗口print.asp始终在其他窗口之上 没关闭之前不允许操作其他的界面
我也用过showModalDialog()但是我还要在其上打开其他的窗口 ,所有舍showModalDialog() 用window.open() 但是不能始终在上?二者有谁可以解决其一 即可
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货