开发者

How can I handle URLs with Prototype? Like http://mywebserver/#page-4

I'm currently creating a web application using the great Prototype JS library; and my HTML will be generated through Prototype's DOM tools.

The problem is that the back-button from the browser will not work because the user is - 开发者_JAVA百科technically speaking - always on the same page. I saw that i.e. Google's Gmail uses # in their URLS so that you can copy/paste the url or use the browsers back button.

How can I do this? Is there a simple way? I assume not, because I was googling and there were some workarounds, but I wonder if Prototype has something in-built?

Thanks


I believe you are looking for something like history.js.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜