使用esc调整和关闭iframe的大小 [英] iframe resizing and closing using esc
本文介绍了使用esc调整和关闭iframe的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的应用程序中,我希望调整iframe的大小,方法是:单击全屏"按钮,iframe会占据全屏,而在"Esc"键上,它会恢复其原始大小.
In my application i want to resize iframe as On clicking "Full Screen" button iframe occupies full screen and on "Esc" key it gets into its original size.
推荐答案
如果要像超出浏览器窗口"那样全屏显示,则无法通过编程实现.以前在IE 4/5中是可能的,但出于安全原因已被放弃.
If you mean full screen as in "beyond the browser window", that is no longer possible programmatically. It used to be possible in IE 4 / 5, but has since been abandoned for security reasons.
这篇关于使用esc调整和关闭iframe的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文