Welcome to WebmasterWorld Guest from 35.175.180.108

Forum Moderators: open

Message Too Old, No Replies

1st page refresh lands onto different position

     
8:10 am on Jul 23, 2017 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 2, 2006
posts:2241
votes: 8


I have a website that behaves wrongly on a page refresh, first one only.

Basically, I scroll down, refresh, and I'm not in the same position as before refresh. It jumps a bit up. Any other further refresh does not do it, that is, the behavior is as expected.

I searched around and only found some references to Ajax which I could not connect to my case. I also thought about delay I use for JS files, the "defer" instruction. That's all for now.

I wonder if anyone had a similar experience.

Thank you
8:15 am on July 23, 2017 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 26, 2001
posts:12913
votes: 893


That's browser rendering. Test in the other browsers. You'll likely see some variation between them.

For the last few years, I build for Chrome, then tweak for the others.
8:20 am on July 23, 2017 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 2, 2006
posts:2241
votes: 8


Test in the other browsers.

Very true. This happens in Firefox only. More than a good start. :)

Thanks
3:39 pm on July 26, 2017 (gmt 0)

New User

Top Contributors Of The Month

joined:July 12, 2017
posts:25
votes: 0


Try testing in all the other browsers, then compare them.