首页 新闻 赞助 找找看

showModalDialog 修改状态栏

0
悬赏园豆:20 [已关闭问题] 关闭于 2011-04-25 14:08

源码:ClientScript.RegisterStartupScript(this.GetType(), "onclick", "<script language=javascript>window.showModalDialog('Print.aspx','PrintMe','height=750px,width=650px,scrollbars=0,location=no,status=0 ');</script>");

把status设置成no也不行 浏览器的状态栏始终显示  保护模式:禁用

我是想在打印的时候不显示状态 网上好多说的是现在微软不允许修改它了 如果是这样我该怎么解决这个问题

zhuakelly的主页 zhuakelly | 初学一级 | 园豆:130
提问于:2011-03-06 12:45
< >
分享
所有回答(2)
0

在html中模拟状态栏,比如有一个div悬浮固定到底部在这上面写东西

慧☆星 | 园豆:5640 (大侠五级) | 2011-03-06 20:09
0

我写的两个函数

function showPopWin(url, width, height, returnFunc) {
width
= parseInt(width) + 30;
height
= parseInt(height) + 30;
return window.showModalDialog(url + "&Datetime=" + GetTime(), returnFunc, "dialogWidth:" + width + "px;dialogHeight:" + height + "px;help:0;status:0;scroll:auto;center:1;");
}

function showPopWindow(url, width, height) {
width
= parseInt(width) + 30;
height
= parseInt(height) + 30;
return window.showModalDialog(url + "&Datetime=" + GetTime(), document, "dialogWidth:" + width + "px;dialogHeight:" + height + "px;help:0;status:0;scroll:auto;center:1;");
}
青 蛙 | 园豆:655 (小虾三级) | 2011-03-07 12:32
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册