Hello, it has been awhile but today I got to testing that code. It actually worked but there's a few quirks.
For example if I set window.scrollTo( 0, 440 );
which would scroll the right amount to the start of the version changes text on a desktop. But if you are on a mobile - this begins to miss the correct height because of different layout.
also another thing is when you first access the page it also scrolls down to the set height automatically without pressing on any version. That's not cool unless you use scrollTo (0,0).
Do you believe there is a way to take advantage of this exact script or funcitonality which works when you click on a pagination link. It always gets the right height to scroll back to:
Also I fixed the code for animated scrolling:
it should look like this:
$('body,html').animate({scrollTop: 0}, 0);
the first zero is for how much you need it to scroll down and second zero is for speed. I use:
$('body,html').animate({scrollTop: 484}, 600);
but what irks me is that when I visit the release page by clicking a link in the footer I get instantly scrolled down. I do not need that behavior. only it need to happen when you click on a release note tab.
I think it would be best if the scroller would actually be smart enough to scroll until it finds the DIV of the release log window instead of relying on pixels which are different for every device.