How to adjust the height of Iframe by yourself_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:49:17
Original
1076 people have browsed it

Same as above..Solution!
Giving a fixed value is not what I want...
Please help me!


Reply to the discussion (solution)

window.frameElement.width='1000px'
window.frameElement.height='1000px'

window.frameElement.width='1000px'
window.frameElement .height='1000px'




Can you elaborate???

<script> <br> window.frameElement.width='1000px' <br> window.frameElement.height='1000px' <br> </script>
Put it in the iframe page to see the effect

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!