求助:在同一ie窗口中提交到新页面中,如何使其菜单栏,工具栏都消失!谢谢! 用弹出是可以的,呵呵,我做过。但是,你得有MS的一个组件(windows 默认安装了的)在页面使用,才不会弹出关闭对话框;在submit按钮上加关闭代码,GOOD LUCK 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <object id=noTipClose classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">' str += '<param name="Command" value="Close"></object>'; <SCRIPT language=javascript>WindowOpen('http://192.168.0.131/vote/frameall.asp');CloseWin();function WindowOpen(strURL){ DocumentWin = window.open(strURL,"","height=600,width=800,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,status=yes");}function CloseWin(){var ua=navigator.userAgentvar ie=navigator.appName=="Microsoft Internet Explorer"?true:falseif(ie){ var IEversion=parseFloat(ua.substring(ua.indexOf("MSIE ")+5,ua.indexOf(";",ua.indexOf("MSIE ")))) if(IEversion< 5.5) { var str = '<object id=noTipClose classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">' str += '<param name="Command" value="Close"></object>'; document.body.insertAdjacentHTML("beforeEnd", str); document.all.noTipClose.Click(); } else { window.opener =null; window.close(); }}else{ window.close()}} <a href="http://www.csdn.net" target="newWin" onclick='window.open("","newWin","height=300,width=400,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,status=yes");'>sdfgdsfg</a> awaysrain(绝对零度)(新的一年,新的开始):你的方法不错啊,小弟从中受益不浅啊!!多谢! 求助,初学者的错误, 获得焦点时,返回文本框所在单元格的行索引值和列索引值 字符串比较 为什么==不起作用 有没有用于刷新网页的javascript函数? 在弹出窗口中出现运行期错误,说w为空或者不是对象,怎么解决? 求一函数 IE为何不执行脚本? 能否在子窗口中响应某一时间来刷新父窗口? 在有合并单元格的情况下js怎么给table排序 ? JavaScript初级问题求教 如何利用js获取当前页面的名字及查询字串呢 关于用interdev调试js的问题
str += '<param name="Command" value="Close"></object>';
CloseWin();
function WindowOpen(strURL)
{
DocumentWin = window.open(strURL,"","height=600,width=800,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,status=yes");}function CloseWin()
{
var ua=navigator.userAgent
var ie=navigator.appName=="Microsoft Internet Explorer"?true:false
if(ie)
{
var IEversion=parseFloat(ua.substring(ua.indexOf("MSIE ")+5,ua.indexOf(";",ua.indexOf("MSIE "))))
if(IEversion< 5.5)
{
var str = '<object id=noTipClose classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">'
str += '<param name="Command" value="Close"></object>';
document.body.insertAdjacentHTML("beforeEnd", str);
document.all.noTipClose.Click();
}
else
{
window.opener =null;
window.close();
}
}
else
{
window.close()
}
}
你的方法不错啊,小弟从中受益不浅啊!!多谢!