是否有用于处理hashbang/shebang(#!)网址的JavaScript库? [英] Are there any javascript libraries for working with hashbang/shebang (#!) urls?

查看:95
本文介绍了是否有用于处理hashbang/shebang(#!)网址的JavaScript库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在对Twitter的所有负面报道以及Gawker使用hashbang网址的情况下,我很难找到有关如何实际使用它们的示例/库.

With all the negative press over Twitter and Gawker's use of hashbang urls I'm having a very hard time finding any examples/libraries for how to actually use them.

我想在我们网站上的javascript轮播中使用hashbang网址,以便我们可以直接链接到该轮播的特定页面.

I'd like to use hashbang urls in a javascript carousel on our website so we can link directly to a specific page of the carousel.

是否有很好的跨浏览器库或示例(最好是非jQuery,因为我们使用Prototype)来将新的url推送到页面位置并在页面加载时解析url?

Are there any good cross-browser libraries or examples (preferably non-jQuery, since we use Prototype) for both pushing new urls to the page location and for parsing the url on page load?

推荐答案

我们一直在研究执行URL路由映射的库: https://github.com/OpenGamma/RouteMap (如果您仍在寻找一个).

We've been working on a library that does URL route mapping: https://github.com/OpenGamma/RouteMap if you're still looking for one.

这篇关于是否有用于处理hashbang/shebang(#!)网址的JavaScript库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆