Internet Explorer全屏模式? [英] Internet Explorer full screen mode?
本文介绍了Internet Explorer全屏模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在建立一个基于网络的免费动态新闻阅读器(又名自动播放功能),你可以从这里测试它:
I am building a web based free dynamic news reader (aka "autoplay" feature), that you can test it from here:
http://www.fivetechsoft.com/news
我会喜欢实现一个全屏按钮。任何提示?
and I would like to implement a button to fullscreen it. Any hints?
请注意,现在只支持IE。其他浏览器很快支持即将推出。
Please notice that only IE is supported by now. Other browsers support comming soon.
推荐答案
这将只发送F11。
对于IE安全设置较弱的IE来说已经足够了。这是您可能希望仅供内部使用的内容,但是:
This will simply send F11. Will be good enough for IE with weak security settings. This is something you might want to keep for internal use only, though:
<script type="text/javascript">
function max() {
var wscript = new ActiveXObject("Wscript.shell");
wscript.SendKeys("{F11}");
}
</script>
这篇关于Internet Explorer全屏模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文