Browser back button broken between hidden div's

Posted by Linda on Stack Overflow See other posts from Stack Overflow or by Linda
Published on 2010-01-21T20:41:46Z Indexed on 2012/12/01 11:05 UTC
Read the original article Hit count: 255

Filed under:
|

First of all, these pages will never be on the web but will be in internal memory. They are a group of linked documents---an ebook.

http://www.anmldr.com/testdivs

When I click on the link in the first div, the second div becomes visible and the first div is hidden. The problem is with the browser's back button. If you then click on the back button, the URL updates but the first div does not show again. How can I correct the back button so that the first div shows? The link from the second div to the first div works fine but it is the browser back button that I do not know how to work with.

Thanks, Linda

P.S. These are using CSS3 so it is better to use a WebKit based browser.

© Stack Overflow or respective owner

Related posts about html

Related posts about css