window.open另类问题 <input type=hidden name="" value=""> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我现在的做法是:<form action="b.asp" method="post" target="_blank"><input type="text" name="text1" size="20"><input type="text" name="text2" size="20">...<textarea name="textarea " cols="60" rows="10"></textarea></form>怎么样做使b.asp不出现工具栏及地址栏。谢谢 在 b.asp 里用脚本控制控制if(window.name != 'win'){ window.open(this.location,'win','...........') window.openner=null; window.close();} 在 b.asp 里用脚本控制控制if(window.name != 'win'){ window.open(this.location,'win','...........') window.openner=null; window.close();} <script>var NewWin = null;function WinOpen(url){ if (!NewWin || NewWin.closed) { NewWin = LoadWin(url, 'win_poll', 600, 300); }else { NewWin.focus(); }}function LoadWin(url, name, width, height) { var str = "scrollbars,resizable,height=" + height + ",innerHeight=" + height + ",width=" + width + ",innerWidth=" + width; if (window.screen) { var ah = screen.availHeight - 30; var aw = screen.availWidth - 10; var xc = (aw - width) / 2; var yc = (ah - height) / 2; str += ",left=" + xc + ",screenX=" + xc; str += ",top=" + yc + ",screenY=" + yc; } return window.open(url, name, str); }</script><form method=get>......<input name="poll" type="button" value="查看" class="button" onclick="javascript:openwindow('b.asp','anyname',600,300)"></form> JS怎么实现一机双屏??? ie 7下兼容性问题,跪求帮助.. 这段实现图片无缝滚动的代码哪里错了?急求解! 象这种情况,如果用javascript为input设置value值? 这个问题没有人解决的了吗? 如果删除数组中的一个元素 js能对word进行操作嘛,如果可以,请赐教方法 meizz(梅花雨)的Javascript脚本日历输入控件升级了! 发送页面时,如果用javascript判断textfield中填入的是数字(只能填数字) ueditor改变图片上传位置 帮忙看看错在哪? 为什么自动给我去掉逗号和括号,不知是何原因。请大家和版主帮忙看看!!!
<form action="b.asp" method="post" target="_blank">
<input type="text" name="text1" size="20">
<input type="text" name="text2" size="20">
...
<textarea name="textarea " cols="60" rows="10"></textarea>
</form>
怎么样做使b.asp不出现工具栏及地址栏。
谢谢
window.open(this.location,'win','...........')
window.openner=null;
window.close();
}
window.open(this.location,'win','...........')
window.openner=null;
window.close();
}
var NewWin = null;
function WinOpen(url)
{
if (!NewWin || NewWin.closed)
{
NewWin = LoadWin(url, 'win_poll', 600, 300);
}else
{
NewWin.focus();
}
}
function LoadWin(url, name, width, height)
{
var str = "scrollbars,resizable,height=" + height + ",innerHeight=" + height + ",width=" + width + ",innerWidth=" + width;
if (window.screen)
{
var ah = screen.availHeight - 30;
var aw = screen.availWidth - 10;
var xc = (aw - width) / 2;
var yc = (ah - height) / 2;
str += ",left=" + xc + ",screenX=" + xc;
str += ",top=" + yc + ",screenY=" + yc;
}
return window.open(url, name, str);
}
</script>
<form method=get>......<input name="poll" type="button" value="查看" class="button" onclick="javascript:openwindow('b.asp','anyname',600,300)"></form>