jQuery("#fullBtn").text(" 全屏显示"); function fullscreen(){ //模拟F11 var WsShell = new ActiveXObject('WScript.Shell') WsShell.SendKeys('{F11}'); //全屏状态下 if(isFull=="full"){ jQuery(parent._ChildMenu).show(); jQuery(parent._TableHeader).show(); jQuery("#fullBtn").text(" 全屏显示"); isFull=""; return; } // jQuery(parent._ChildMenu).hide(); jQuery(parent._TableHeader).hide(); jQuery("#fullBtn").text(" 退出全屏"); isFull="full"; }
Javascript在IE下控制浏览器全屏
猜你喜欢
转载自cisumer.iteye.com/blog/2306918
今日推荐
周排行