pushState and popstate

Опубликовано: 03 Ноябрь 2024
на канале: GeekLaunch
47,053
757

I was so confused when I first learned this API; I hope you don't get confused!!! history.pushState and window.onpopstate are the two main things used in this tutorial to affect what the browser's back and forward buttons do.

Get the code from GitHub: https://github.com/GeekLaunch/pushsta...
Live demo: https://geeklaunch.github.io/pushstat...

http://geeklaunch.net/

Support GeekLaunch on Patreon:   / geeklaunch  

Follow GeekLaunch on Twitter:   / geek_launch  

GeekLaunch produces educational videos covering such topics as Linux, web development (including HTML5, CSS 3, JavaScript, and PHP), tips for power users, among many others. Subscribe: New video every Wednesday!

Not a geek? Start today!