Support » Fixing WordPress » Page Load Affected by iframe

Viewing 1 replies (of 1 total)
  • Jeremiah


    I ended up finding (two weeks later) the answer to this question. I took it from Nate’s answer here –

    I used:

    <iframe style="position: absolute; top: -9999em; visibility: hidden;" onload="'static';'visible';" href="..."></iframe>

    It seems to have completely eliminated the scrolling issue.

    Here was Nate’s quote:

    Here we’re basically saying hiding the frame and moving it to a negative offset on the page vertically. When it does try to focus the element inside of the frame, it should scroll the page upward, then once loaded place the iframe back in it’s intended position.

Viewing 1 replies (of 1 total)
  • The topic ‘Page Load Affected by iframe’ is closed to new replies.