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:
- "Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third party plugins and themes are off topic, they are better asked about at their developers' support routes." – Michael, shanebp, Rick Hellewell
- "Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?" – Jacob Peattie, Dave Romsey
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.