I have an iframe
from the middle to bottom on a page. When I load the page it scrolls to the bottom. I tried to body onload window.scroll(0,0)
but it does an ugly effect because it first goes down and then immediately scrolls up.
What's the cause of this automatic scroll to bottom with iframe
on the page?
Similar method but using classes.. I added a class to the iFrame's parent div of "iframe_display" with a style inside that of visibility: hidden. On page load I then used jQuery to remove the class
This takes the focus away from the iFrame and stops the scrolling down to the iFrame on page load