これまでのところ、私が調査したことは役に立たないようです。私は jquery sabbie ではありませんが、機能していないようです。iframe 内にはリンクがあり、各リンクをクリックすると展開され、そのリンクのコンテンツが表示されます。まあ、iframeの高さはそれに沿って移動しません。ここに私のコードがあります。これがヘッダーにあるものです。
<script type="text/javascript">$(document).ready(function () {$('iframe').iframeAutoHeight({debug: true});});</script>
ボディタグ:
<iframe src="http://www.promero.com/defaultNewsTest.asp" class="auto-height"scrolling="no" frameborder="0"></iframe><script>$('iframe.auto-height').iframeAutoHeight({minHeight: 240});</script>