HTML5 history APi

后端 未结 2 1042
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-10 21:01

How do i use HTML5 history api. I did go through the https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history. That confused me. All that i want is to change the ur

2条回答
  •  礼貌的吻别
    2021-02-10 21:13

    I think the free online book Dive into HTML5 is generally an excellent source for a description of the new features of HTLM5. It has a chapter about the new history element, Manipulating History for Fun & Profit.

    The executive summary is that it is not just a online-liner to make this work correctly. When you fake loading a new page using AJAX you also have to fake loading the previous page when the user clicks on the back button.

提交回复
热议问题