js实现网页全屏效果,
就像按F11一样。
例如:
function loadListener() {
var WshShell = new ActiveXObject('WScript.Shell')
alert(WshShell);
WshShell.SendKeys('{F11}');
}
(不过好像只能实现在ie)
...全文
5414打赏收藏
js实现网页全屏(效果和F11一样)
js实现网页全屏效果, 就像按F11一样。 例如: function loadListener() { var WshShell = new ActiveXObject('WScript.Shell') alert(WshShell); WshShell.SendKeys('{F11}'); } (不过好像只能实现在ie)