window.open(str,"auto_call_show","fullscreen=yes,menubar=0,toolbar=no,directories=0,location=0,status=0,scrollbars=no")
IE下是全屏的!
firefox下 浏览器的title栏还在
怎么能让firefox全屏 求解!!
IE下是全屏的!
firefox下 浏览器的title栏还在
怎么能让firefox全屏 求解!!
调试欢乐多
function fullscreen() {
Width=screen.availWidth;
Height=screen.availHeight;
window.open(str, '',
'toolbar=no,location=no,directories=no,status=no,menubar=no,'+
'scrollbars=1,resizable=no,copyhistory=1,width='+Width+','+
'height='+Height+',top=0,left=0','replace');
}
试试. 还有一种是Activex不过很少使用这样的方式.[code=HTML]
<script language="JavaScript">
function WALL_web(){
var WshShell = new ActiveXObject('WScript.Shell')
WshShell.SendKeys('{F11}');
}
</script>
<a href="javascript:WALL_web();">点击全屏</a>[/code]