使用javascript调整iframe大小 [英] Resize iframe with javascript
本文介绍了使用javascript调整iframe大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个由列表元素(ul)组成的导航菜单。
每个列表项在iframe元素中打开一个不同的页面。
我想要知道是否有办法调整iframe元素的大小(宽度最好)
通过javascript编码或css3为每个已加载的页面。
是否有可能,如果是,我应该从哪里开始?
提前致谢。
解决方案
< blockquote> is-it-possible- if-iframe-resize-self-without-help-from-main-window [ ^ ]
调整-AN-iframe的基于上内容 [ ^ ]
查看此链接..希望你会有所了解。
I have a navigational menu made out of a list element (ul).
Each list item opens a different page in the iframe element.
I would like to know if there is a way to resize the iframe element (the width preferably)
through javascript coding or css3 for each page that has been loaded.
Is it possible and if yes, where should i begin?
Thanks in advance.
解决方案
is-it-possible-that-iframe-resize-itself-without-help-from-main-window[^]
resizing-an-iframe-based-on-content[^]
Check this links..hope you will get some idea.
这篇关于使用javascript调整iframe大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文