single page application without using hashtag

天涯浪子 提交于 2019-12-13 12:35:36

问题


Is it possible (and how) to do a single page application without using hashtag ?

On Google+ for example, we can click on some links, then the URL changes (but without hashtag) BUT we can't see a new page loading, only some part of the page is loading and refreshed.

Thank you.


回答1:


The answer is using pushState. Thank you @Len.

http://www.seomoz.org/blog/create-crawlable-link-friendly-ajax-websites-using-pushstate http://html5.gingerhost.com/



来源:https://stackoverflow.com/questions/11865182/single-page-application-without-using-hashtag

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!