我想了解如何使用jQuery的地址插件,用来处理深藏着阿贾克斯的链接。
I'm trying to understand how to use the jQuery address plugin for handling deep linking with ajax.
但文档是非常差,我找不到任何好的教程解释是怎么回事。
But the documentation is very poor and I cant find any good tutorials explaining what is going on.
我觉得有很好的例子有一个好的文档是与每一个插件很重要的。
I think a good documentation with good examples is important with every plugin.
有人能解释或提供一些有用的链接解释?
Could someone explain or give some useful links for explanation?
$.address.change(function(event) {
// do something depending on the event.value property, e.g.
// $('#content').load(event.value + '.xml');
});
$('a').click(function() {
$.address.value($(this).attr('href'));
});
我的意思是,这是什么 $。address.value
吗?它说:提供当前深层链接的价值。这是什么意思,甚至? ?它用它做什么?
I mean, what does $.address.value
do? It says "Provides the current deep linking value." What does it even mean? And what does it do with it?
该插件似乎有适度的文件,但如果你正在寻找的东西多一点深入,做同样的事情,我想看看jQuery的烧烤:http://benalman.com/projects/jquery-bbq-plugin/
The plugin seems to have moderate documentation, but if you're looking for something a little more in depth that does the same sort of thing, I would check out jQuery BBQ: http://benalman.com/projects/jquery-bbq-plugin/
它的$ .PARAM实施正在投入的jQuery 1.4和deparam实现目前的读取新格式的唯一的事。此外,该文件是很大的。
It's $.param implementation is being put into jQuery 1.4 and its deparam implementation is currently the only thing that reads that new format. Also, the documentation is great.