I have a page with a movie list, which extends as soon as you scroll down. When I click one of these movies to see the details, and after that hit the back button in my browser, it forgot the state it was in. It returns me back at the top of the page without any extended movies I saw开发者_运维知识库 earlier.
I've been searching but couldn't find the right answers. What should I do to make it remember the state it is in? I know it's probably something with hashtags? I would prefer to keep it as minimal as possible since I already took care of the loading of the pages inside the current page. But if it really requires a plugin it's not a problem.
Ben Alman’s BBQ plugin does that.
Check out Ben Alman's hash change plugin
精彩评论