Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Greg Ross

    (@gregross)

    It looks like the content in the iframe continues to grow indefinitely, so the iframe continues to resize to add the fudge factor on to it.

    Try setting the fudge factor to 0 and see if the loop stops.

    Thread Starter walhai

    (@walhai)

    Hi Greg,
    thank you for your answer. I tried <p>[auto-iframe link=/scheduledamai/indexv2.php fudge=0]</p>
    but nothing changed :((
    Any idea?
    regards Barbara

    Plugin Author Greg Ross

    (@gregross)

    It looks like your source link has code in it to resize itself:

    function resizeIframe(obj) {
        obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
      }

    which is conflicting with the Auto iFrame code, creating an infinite loop where the iframe is resized so the source link resizes itself which causes the iframe to resize which…

    Thread Starter walhai

    (@walhai)

    Just for info: the problem was in the css :((
    But thanks a lot for answering

    Plugin Author Greg Ross

    (@gregross)

    No problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem with height’ is closed to new replies.