JavaScript History API Basics




Want more? Explore the library at https://www.codecourse.com/lessons

Official site
https://www.codecourse.com

Twitter


Original source


18 responses to “JavaScript History API Basics”

  1. What if the user presses the refresh button? What else would i need to do for the user to be able to refresh to the current content they are on, rather than the whole page. if you press the refresh button on what you currently have, it will give an error page. Anyone know a simple way out of this?

  2. Good for the basics but would be better in combination with .htaccess and rewrite rules
    -> the content could be loaded dynamically from a db
    and you don't need to link to the content.php files manually if you add a new page

Leave a Reply