怎样使用javascript控制全屏显示?? window.open("aa.html","test","fullscreen=yes,toolbars=no"); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 如果用户用的是IE6SP1,那么类似在window.open中fullscreen=yes这样的参数是无效的,微软已经取消了这个功能。你可以参考IE6SP1的自述文件。 都如楼上这么说,可是我在IE6SP1下还能用.不知为何?<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>网路维他</title></head><body onload="andBoom()"><script>url = "index.php";var bgColor = "#000000";var txtColor = "#FF0000";if (document.all){ var wide = window.screen.availWidth; var high = window.screen.availHeight; }function andBoom(){ if (document.all){ var Boomer = window.open("","BoomWindow","fullscreen"); Boomer.document.write('<HTML><BODY BGCOLOR='+bgColor+' SCROLL=NO onclick=\'window.close()\'><center><FONT size=+4 style="font-family : 楷体_GB2312;font-weight : normal;" COLOR='+txtColor+'><br><br><br>欢迎使用网路维他管理系统<br></font><FONT size=+1 style="font-family : 楷体_GB2312;font-weight : normal;" COLOR='+txtColor+'><br><br>正在载入......</font><br><font size=+2 color=#9469FF>按任意键关闭该画面</font></center></BODY></HTML>'); Boomer.focus(); //Boomer.location = url; } else { window.open(url,"BoomWindow","fullscreen"); }}</script></body></html> <html><head></head><body><a href="#" onClick="window.open('','','fullscreen=yes')">全屏</a></body></html>这个是最短得了 self.resizeTo(screen.width+50,screen.height+50)self.removeTo(-10,-150) 表格问题,急 jqgrid都需要引用那些文件呢? 万分火急!请教高手一个问题!!! My97DatePicker的问题 谁可以给我提供关于json的详细资料,我想学习! 难道用java脚本没法解决?? 高分求救~哪位可以帮我把这个C#写的函数转成Javascript呀~~~ 谁帮我写个js,控制表单的 ■■一个简单的问题,求救,马上就要给客户演示了!分已经完了,他日再奉上■■ 大家快来帮忙 请问如何控制Iframe? 关于表的问题?
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>网路维他</title>
</head>
<body onload="andBoom()">
<script>
url = "index.php";
var bgColor = "#000000";
var txtColor = "#FF0000";
if (document.all){
var wide = window.screen.availWidth;
var high = window.screen.availHeight;
}
function andBoom(){
if (document.all){
var Boomer = window.open("","BoomWindow","fullscreen");
Boomer.document.write('<HTML><BODY BGCOLOR='+bgColor+' SCROLL=NO onclick=\'window.close()\'><center><FONT size=+4 style="font-family : 楷体_GB2312;font-weight : normal;" COLOR='+txtColor+'><br><br><br>欢迎使用网路维他管理系统<br></font><FONT size=+1 style="font-family : 楷体_GB2312;font-weight : normal;" COLOR='+txtColor+'><br><br>正在载入......</font><br><font size=+2 color=#9469FF>按任意键关闭该画面</font></center></BODY></HTML>');
Boomer.focus();
//Boomer.location = url;
}
else {
window.open(url,"BoomWindow","fullscreen");
}
}
</script></body></html>
<head>
</head>
<body>
<a href="#" onClick="window.open('','','fullscreen=yes')">全屏</a>
</body>
</html>
这个是最短得了
self.removeTo(-10,-150)