0
我有问题,我无法完全按照iframe的宽度和高度适合外部web内容有人可以帮助吗?如何适合外部网站与iframe宽度
我通过表单发布链接,因为它会像发布这些值这样..我给这个YouTube和谷歌只是例如。
外部链接形式:
<form method="post" action="https://www.youtube.com" target="myFrame" >
<input type="hidden" name="pid" value="[email protected]!etars16387"/>
<input type="hidden" name="apq" value="1"/>
<input type="image" name="apig" src="https://www.google.com/images/img.gif"/>
</form>
的Iframe:
<iframe frameborder="0" scrolling="yes" width="100%" height="841" name="myFrame" id="myFrame">
<p>iframes are not supported by your browser.</p>
</iframe>
请帮我...谢谢&方面的