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 来说已经足够了.不过,您可能只想保留这些内容仅供内部使用:
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屋!
查看全文