我是想实现全屏显示,因为要做触摸屏网站,所以地址栏、菜单栏、标题栏全不显示。我用了window.open进行设置,
window.open ("default.aspx", "", "height=" + screen.height + ", width=" + scren.width + ",top=0,left=0, toolbar=no, menubar=no, scrollbars=auto, resizable=yes, location=no, status=no") 可是标题栏还会在。怎么实现真正全屏?如果用window.open ("default.aspx", "", "fullscreen=yes")实现了全屏,但屏幕右边怎么多了一条类似滚动条的东西?急问!
window.open ("default.aspx", "", "height=" + screen.height + ", width=" + scren.width + ",top=0,left=0, toolbar=no, menubar=no, scrollbars=auto, resizable=yes, location=no, status=no") 可是标题栏还会在。怎么实现真正全屏?如果用window.open ("default.aspx", "", "fullscreen=yes")实现了全屏,但屏幕右边怎么多了一条类似滚动条的东西?急问!
解决方案 »
- 为gridview配置数据源怎么设置多个参数
- 关于asp.net mencoder+ffmpeg视频截图
- ---高手请进---一个WEB视频播放问题--------求救----------------
- 调入外部JS 时候,能不能加参数???
- asp.net新手问题:
- .net分页存在大量的冗佘!
- 如何在网页中调用摄相头设置
- 调试asp.net程序,运行到一半,要我输入用户名和密码和域??
- 新人报到,请多关照.
- [ 求教 ] About 'Windows Integrated Authentication'. (Logout/Login) (路人甲)
- 新建一个空web窗体,发现一个莫名其妙的编译问题,求解决办法.
- 处在WebForm节点下的控件性能要优于无WebForm下的控件??
或者在default.aspx页面中的body标签中写scroll="no"
<head>
<title>123</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>
<!--
function omiga_window(){
window.open("d.htm","","fullscreen,scrollbars")
}
//-->
</script>
</head><body onload="omiga_window()" onblur="focus();closes.Click();" scroll="no">
<object id=closes type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param name="Command" value="Close">
</object>
<p> </p>
<p> </p>全屏!</body>
</html>
<html><head><title>EYE4U active media</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><frameset rows="100%,*" framespacing="0" frameborder="no" border="0"> <frame SRC="要打开的网页.htm" NAME="main" frameborder="0" border="no" marginwidth="0" marginheight="0" scrolling="no"> <frame SRC="blank.htm" NAME="unten" frameborder="0" border="no" marginwidth="0" marginheight="0" scrolling="no"></frameset><noframes></noframes></html>
2、b.html
<script type="text/javascript">
window.open("a.htm", "", "fullscreen=yes");
</script>a.htm->b.htm->要打开的网页.htm
window.open ("default.aspx", "", "scrollbars=no,fullscreen=yes")
这个不好使,但是在body中加了scroll="no"就可以了,再次感谢!
window.open ("wholeScreen.html", "", "fullscreen=yes");
经我测试在IE6中可以实现全屏;
但是在Firefox中测试时,无法实现全屏