Problem with page starting position

User 38401 Photo


Senior Advisor
10,951 posts

I'm sure I'm missing something totally simple that I am just not seeing since this hasn't ever happened before, but for some reason this page keeps starting with the page scrolled down a bit where the form is showing.

I've commented out the code of the form and it stops this from happening so I'm "assuming" it's in that section, but I cannot seem to figure out what part is doing it, is it the form code or the RLMP code?

Here's a link if anyone can help and thanks in advance :)

http://www.ironmaidensthoroughbreds.com … trail.html
User 187934 Photo


Senior Advisor
20,271 posts

I had that problem when I placed a form in my RSD page and had to make the iframe responsive and the scroll went away.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 379556 Photo


Registered User
1,603 posts
Online Now

Would perhaps the 'autofocus' at line 39 of imt-sample-form.php lead to this effect? I'm a novice in these matters, but am interested because I'm actually trying to get such a scrolling to an iframe.

Frank
User 187934 Photo


Senior Advisor
20,271 posts

That's actually a great call Frank. It may be that.:cool:
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 38401 Photo


Senior Advisor
10,951 posts

Thanks guys, the autofocus setting was it. I totally misinterpreted what that meant I guess. I was under the impression that that meant that whatever field you chose as the autofocus was the one the cursor would be in at the load of the page, but I didn't realize it meant it was also going to send the page to the spot where the form field was as the autofocus of the page itself. Learn something new every day! Thanks very much for your help!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.