This course describes how to use the HTML5 Session History application programming interface to present bookmark-friendly URLs while updating parts of a page and preventing unnecessary network activity. Author Bill Weinman shows how to manipulate history by adding entries to the stack, visibly changing the URL in the address bar, and removing entries when the user presses the back or forward buttons, all without reloading the web page. The course uses practical examples that can be applied to most web sites, and also shows how to detect support for the History API in browsers and how to handle exceptions.
Topics include:
Manipulating browser history: an overview
Detecting History API support
Pushing a new URL onto the stack
Handling back and forward buttons with the popstate event
You must be a lynda.com member to watch this video.
Every course in the lynda.com library contains free videos that let you assess the quality of our tutorials before you subscribe—just click on the blue links to watch them. Become a member to access all 100,984 instructional videos.
If you are already an active lynda.com member, please log in to access the lynda.com library.
Get access to all lynda.com videos
You are currently signed into your admin account, which doesn't let you view lynda.com
videos. For full access to the lynda.com library, log in through iplogin.lynda.com,
or sign in through your organization's portal. You may also request a user account
by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.
Get access to all lynda.com videos
You are currently signed into your admin account, which doesn't let you view lynda.com
videos. For full access to the lynda.com library, log in through iplogin.lynda.com,
or sign in through your organization's portal. You may also request a user account
by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.
Access to lynda.com videos
Your organization has a limited access membership to the lynda.com library that allows access to only a specific, limited selection of courses.
You don't have access to this video.
You're logged in as an account administrator, but your membership is not active.
Contact a Training Solutions Advisor at 1 (888) 335-9632.
How to access this video.
If this course is one of your five classes, then your class currently isn't in session.
If you want to watch this video and it is not part of your class, upgrade your membership for unlimited access
to the full library of 1,943 courses anytime, anywhere.