在URL哈希(#)的使用 [英] Usage of Hash(#) in URL

查看:369
本文介绍了在URL哈希(#)的使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道有没有什么比用在URL锚其他散列。我读到这里
<一href=\"http://stackoverflow.com/questions/20280212/getting-the-full-url-including-the-query-string-after-hash\">getting完整的URL包括散列后查询字符串。
什么是客户端的状态信息?请帮助。

I was wondering is there any use of hash other than as an anchor in URL. I read about it here getting the full url including query string after hash . What is state information for the client? Please help.

推荐答案

有关导航,也可用于单页的应用程序,这样,而不是用它来导航到你使用哈希作为一种手段,一个页面一个点的哈希一页一页地。这样做的好处是,它不要求页面刷新。

The hash can be used also for single page applications, so instead of using it to navigate to a point in a page you use the hash as a means for navigated from page to page. The advantage of this is that it does not require a page refresh.

有也被用于单页的应用程序,用于帮助一个方法调用hashbanging Ajax应用程序更可索引的。

There is also a method called hashbanging which is used for single page applications and is used for helping ajax applications more indexible.

有关于这个问题的一些好文章

There are a few good articles on the subject

这篇关于在URL哈希(#)的使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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