• Resolved nolimit966

    (@nolimit966)


    Hi there,
    I am currently using Advanced Iframe on my site & it works really well, i do have 1 small issue.
    WThe iframe seems to be creating 2 x BR tags meaning my content is pushed down lower than it should be on the page.
    on Inspect element source of my age i am getting the following code:

    <p><script type="text/javascript" src="https://REMOVEDURL/wp-content/plugins/advanced-iframe/js/ai.js"></script><br>
    <script type="text/javascript">function aiResizeIframeHeight(height) { aiResizeIframeHeightById("advanced_iframe",height); }</script><br>
    <script type="text/javascript">function aiResizeIframeHeight_advanced_iframe(height) { aiResizeIframeHeightById("advanced_iframe",height); }</script></p>

    How do i stop the
    tags being created?

    Thank you

    https://www.ads-software.com/plugins/advanced-iframe/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mdempfle

    (@mdempfle)

    This is really interesting.
    Because I only render a “\n” = new line and not a

    Please inspect this site and check if you see it also there:
    https://www.tinywebgallery.com/blog/advanced-iframe/demo-advanced-iframe-2-0

    Because when I check with firebug I don’t see any
    there. Only a new line.

    Do you maybe have a plugin or something that replaces there something.

    As a quick fix you can simply remove the . “\n” in advanced-iframe.php

    Best, Michael

    Plugin Author mdempfle

    (@mdempfle)

    Seems wordpress enters this if there is a complete new line.
    I fix this in the next version.

    Best, Michael

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘iframe too low down due to br tags being injected’ is closed to new replies.