0

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!

closed as off-topic by Michael, Jacob Peattie, shanebp, Dave Romsey, Rick Hellewell Nov 16 '18 at 18:32

This question appears to be off-topic. The users who voted to close gave these specific reasons:

If this question can be reworded to fit the rules in the help center, please edit the question.

2

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.