When I Jump to section 1 & 2 everything works fine, and the browsers I tested (IE8, FF3.6, Chrome 5.0.342.3) scrolls down to the respective anchor in the div. But when I press the browser history back button the div won't scroll back up.
Is there some way to make this work without using javascript ?
<div id="scrolldiv" style="overflow:auto; width:500px; height:500px; border:2px solid #e1e1e1; ">
<a href="#link1">Jump to section 1</a> <br />
<a href="#link2">Jump to section 2</a> <br />
<h1 id="link1" name="link1">Section 1</h1>
<p>lots of text<br />lots of text<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /></p>
<h1 id="link2" name="link2">Section 2</h1>
<p>lots of text<br />lots of text<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /></p>