Hi I wanted to know if there was an easy way to scroll a page to its previous position when it reloads. For example I have a bulletin board half way down my page. The bulletins are paginated and the user can click next to see the next lot of bulletins. The problem when the page reloads it does its normal behaviour of jumping to the top of the page. A good example of the page reloading to the same position is when you reload the page using F5.
I know the hard way to do it.
the pagination link would be like this
index.php?page_num=2&page_scroll=200;
When the page loads run a script which pulls out the page scroll from the url and sets
document.body.ScrollTop==200px.
Surely It is possible to access the dom of the last page and get it's position before it redirected. How does the browser do it when you hit F5?