Is it possible to take a user back to the area of a page where they scrolled down to when pressing the back button in a browser? As in --- pageA is double your screen size
You can use the following code to detect the scroll position.
$(window).scroll(function (event){ var scroll = $(window).scrollTop(); // Do something });
Then store scroll in a session and when you click back do scrollTop(scroll) .
scrollTop(scroll)