Change browser URL and page content without reload and without using fragments

前端 未结 2 1793
萌比男神i
萌比男神i 2020-12-06 20:06

I\'m well aware of the technique of using URL fragments to track state on an AJAX powered webpage, but lately I\'ve noticed a lot of sites that are doing something similar b

相关标签:
2条回答
  • 2020-12-06 20:42

    They are using new HTML5 History API. I think this is what you want. check the menu items in this page http://tinywall.info/demos/html5-history-api/menu1.php

    The tutorial to implement is right here : http://t.co/M4RvnvoQ

    0 讨论(0)
  • 2020-12-06 20:44

    I believe this is due to the new History pushState HTML5 feature

    0 讨论(0)
提交回复
热议问题