Single Page Navigation w/ Javascript and Back Button
- by Khan
Ok, so I have a "navigation" div and "content" div.
When something on the navigation is clicked, I fade in the content div with the new data.
Now, I would like to have the old data returned when the user hits the "back" button on his/her browser, but I'm having a hard time doing this.
I know I can set the content to be a named anchor, so they…