请各位大哥大姐告诉小弟一段打开网页后自动全屏的代码!!!最好支持各种浏览器的....不过IE/MYIE这2个只要支持就给分...支持一个的也给<script>
window.moveTo(0,0);
window.resizeTo(this.screen.width,this.screen.height-20);
</script>
这个是我的代码..虽然能变成全大..但是和全屏还差一点...
小弟再次谢过了!!!!!!
window.moveTo(0,0);
window.resizeTo(this.screen.width,this.screen.height-20);
</script>
这个是我的代码..虽然能变成全大..但是和全屏还差一点...
小弟再次谢过了!!!!!!
解决方案 »
- 请问如何将图片嵌入exe中?
- java.util.Set.contains的问题!
- 请问如何把一个CLASS文件制作成一个双击就可以执行的文件,还有就是在其他人机子上没有JRE也能运行~~谢谢
- evaluation order
- 晕了,昨天我的分还多些,怎么今天还少了?是什么问题??
- applet中如何打开新的ie窗口?
- 菜鸟的一个问题:Exception in thread "main" java.lang.NoClassDefFoundError:HelloDate/java
- 什么是J2SE,J2EE,J2ME? J2SE跟以前的j2sdk-1_3_0_01-win.exe 有什么不同? 请各位大虾详细解释一下,好吗?
- 【讨论】一个WEB应用系统的设计问题
- 我觉得JAVA的帖子回复率很低,大家给斑竹提点意见怎么样?
- 成功跨越1000分,谢谢各位的支持,散光所有的可用分 (就差1分就四个裤衩了,奶奶的,怎么这么多人不结帖?)
- 请教下各位LDAP高手
var height = 710;
//openWin(sUrl, "", width, height);
window.open(sUrl,"", "left=0,top=0,width="+width+",height="+height+",menubar=no,status=no,titlebar=no,resizable=yes,scrollbars=yes,location=no,toolbar=no" );
var w_width = screen.availWidth;
var w_height = screen.availHeight;
var tableHeight = screen.height;
mywindow = window.open('myurl','mywindow',"width=" + w_width + ", height="+ w_height + ", top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=yes,location=no, status=no");
mywindow.resizeTo(screen.availWidth, screen.availHeight);
this.opener = null;
this.close();
if(this.name!='fullscreen'){
fs=window.open(location.href,'fullscreen','fullscreen=yes');
fs.opener.opener=null
fs.opener.close();
}
</script>