现在这个方案也不怎么好,window.open时没有把主页面屏蔽,还能继续操作主页面!!
firefox真讨厌
firefox真讨厌
解决方案 »
- 求一年第几周的时间段,asp.net!跪求答案!
- div有没有属性可以实现:不定义自身背景色就可以避开父div的背景色,而使用父div外部的背景色
- 如何将excel导入到sql中,求原代码
- 如何给SQL数据表添加一个临时字段,并给它赋值??
- 新手求助(100分)
- 求microsoft sql server 2005 软件下载地址
- 初为人师,求资料备课
- 求用.NET编写的网站入侵检测系统。
- 请教,能不能在操作局域网上网上邻居电脑的文件.
- 我看到beta1的资料说page.Navigate可以实现页面跳转,但是在beta2下面却不行,请问在beta2下面,什么实现页面跳转?
- 页面有几个button,一个textbox,当我输入数值,敲回车,能替代其中一个button的功能,怎么实现呀?
- 大家来下载MSProject开源的ASP.NET论坛源代码吧
{
if( document.all)//IE
{
feature="dialogWidth:300px;dialogHeight:200px;status:no;help:no";
window.showModalDialog(url,null,feature);
window.location.reload()
}
else
{ //modelessDialog可以将modal换成dialog=yes
feature ="width=300,height=200,menubar=no,toolbar=no,location=no,";
feature+="scrollbars=no,status=no,modal=yes";
window.open(url,null,feature);
//这个在url里实现。if(window.opener) opener.location.reload()
}
}
history.go(0)
刷新后一页面
history.go(-1)
刷新前一页面
history.go(1)
{
if (window.navigator.appVersion.indexOf("MSIE")!=-1)
{
window.showModalDialog("/***/***?***="+id,"", "dialogWidth=600px;dialogHeight=600px;help:no;resizable:no;scroll:no;status:no;");
}
else
{
window.open("/***/***.***?***="+id,"客户信息", "width=600px,height=600px,help=no,status=no,top=(window.screen.availHeight-30-iHeight)/2,left=(window.screen.availWidth-10-iWidth)/2");
}
}
不是IE的话就用open