怎样在javascript中的window.open()中fullscreen按照指定的窗口大小显示?

a05 2003-07-14 04:45:47
怎样window.open()中fullscreen按照指定的窗口大小显示?
...全文
580 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
a05 2003-11-27
  • 打赏
  • 举报
回复
谢谢各位的关注,此问题我已解决,现在结帖
veaven 2003-11-26
  • 打赏
  • 举报
回复
呵呵,楼上的好眼神
acewang 2003-11-26
  • 打赏
  • 举报
回复
四个月前的帖子?
长江支流 2003-11-26
  • 打赏
  • 举报
回复
建议不用window.open(),如果安装了广告拦截工具,决对打不开,我碰到过,而具下一OS不支持open(),后来用showModalDialog();
this.Response.Write("<script>showModalDialog('页.aspx')</script>");
如果确实要用,用fullscreen属性
window.open("页.aspx",'_blank',
"fullscreen=yes,status=no,toolbar=no,menubar=no,location=no");
a05 2003-07-14
  • 打赏
  • 举报
回复
怎样在javascript中的window.open()中fullscreen按照指定的窗口大小显示?
少说了句,我还想要透明显示!该怎么办?
cyp503 2003-07-14
  • 打赏
  • 举报
回复
window.open('aa.htm', '', 'width=220,height=220,left=0,top=0,resizable=no,menubar=yes,toolbar=yes, scrollbars=no,locations=no,status=no');
cyp503 2003-07-14
  • 打赏
  • 举报
回复
<SCRIPT LANGUAGE="JavaScript">
function fullscreen(url) {
w = screen.availWidth-10;
h = screen.availHeight-20;
features = "width="+w+",height="+h;
features += ",left=0,top=0,screenX=0,screenY=0";

window.open(url, "", features);
}
</SCRIPT>
Raimond 2003-07-14
  • 打赏
  • 举报
回复
window.open('default.aspx','','fullscreen,scrollbars')
saucer 2003-07-14
  • 打赏
  • 举报
回复
you could do that (chromeless) before IE6 SP1, but they changed it in IE6 SP1, for now, just open a window with no menu/toolbar

window.open("Sample.htm",null,
"height=200,width=400,status=no,toolbar=no,menubar=no,location=no");

62,050

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧