As a follow-up question to: Most efficient way to do a horizontal sliding layout, is it possible to make the browser’s back and forward button work when using a single page layout like that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use the history API in HTML5 to achieve that.
Here are a few resources to get you started:
To get support in older browsers as well, there are JavaScript libraries that enable that:
Advanced example by the Chrome team, that uses the history API: