请各位大哥大姐告诉小弟一段打开网页后自动全屏的代码!!!最好支持各种浏览器的....不过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>
这个是我的代码..虽然能变成全大..但是和全屏还差一点...
小弟再次谢过了!!!!!!
解决方案 »
- dom4j 读xml问题问题!急急急
- 给出一个任意十进制的整数,转换成二进制输出。 用java编 急求
- 加package和不加package的区别在哪儿啊?
- ArrayList是不是一能存不同数据类型的数组?
- 如果java字符中包含回车符和换行符,如何将回车符和换行符替换成其它的字体串?如何替换成<p>
- WINDOWS ME 怎样设置Path
- ### 很简单问题,在线等待,马上给分! ###
- 一个继承的问题
- 菜鸟问题!急急急!!!!!
- 哈希是什么?为什么哈希存取比较快?
- 成功跨越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>