Home >Web Front-end >JS Tutorial >Adaptive height frame ---- personal collection content_javascript skills

Adaptive height frame ---- personal collection content_javascript skills

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-05-16 19:20:191044browse
main.htm:





iframe adaptive loading page height



🎜 >
child.htm:





iframe adaptively loads it Web page (compatible with multiple browsers)




                                                                                                                                                           /table>


============================== =========
How can the height of the iframe tag be adapted to the src page?

        
            
        
    
iframe  自适应其加载的网页(多浏览器兼容,支持XHTML)

For example:

How can the height of this iframe be adapted to the height 600 of agreee.htm?
Don’t tell me to set height=600, because this iframe will use several pages with different heights!


Thank you, I found it





Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn