Orkut的URL写作方法 [英] Orkut's URL Writing Method

查看:122
本文介绍了Orkut的URL写作方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个关于orkut的新URL写作方法的怀疑。

I have a doubt about orkut's new URL Writing method.

此前主页就像

http://www.orkut.com/Home.aspx

现在它改成

http://www.orkut.co.in/Main#Home.aspx

请告诉我的#的意义何在?
为什么那里,他们为什么用它?

Whats the significance of "#" ? Why is it there and why have they used it?

不用于使用导航页的特定部分#
命名锚标记=嗒嗒?

Is not "#" used to navigate to a particular section of Page using name="blah" in the anchor tag?

推荐答案

网址片段(#NAME)在历史上用于页锚,这样你可以标记一个部分,并在页面滚动恰到好处的内容转换成查看链接到它的时候。

The URL fragment (#name) was historically used for in-page anchors, so that you could mark a section and have the page scroll just the right content into view when linking to it.

由于URL片段也可以通过JavaScript的code可以看出,虽然,很多黑客已经成为流行,让您使用相同的页面用于多种用途。这可能是浏览器历史记录不是进行任何形式的presentation决策更加有用,但是这两种技术都是通用的。

Since the URL fragment can also be seen by JavaScript code, though, many hacks have become popular that allow you to use the same page for multiple purposes. It's probably more useful for browser history than making any sort of presentation decisions, but both techniques are common.

这篇关于Orkut的URL写作方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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