I have a website www.negovista.com with an iframe on the middle of the page. In Firefox the page scrolls to the middle of the page when I load the page. Any way to avoid this? Thanks for any suggestions!


I can see there is onload event written in your iframe to scroll to (0,0). I think if you can change the onload function to return false; or remove that onload="top.scrollTo(0,0)" from iframe may help. Please try.

  • Hi, Thank you for the suggestions. I tried both of them and they didn’t work unfortunately. I therefore decided to delete the iframe. Thx Flemming – flemmingha Nov 5 '18 at 17:36
  • Ah! sorry, bad luck. You are welcome. – rony2k6 Nov 5 '18 at 18:06

Not the answer you're looking for? Browse other questions tagged or ask your own question.