jQuery的解决你如何使用它? [英] jquery address how do you use it?

查看:105
本文介绍了jQuery的解决你如何使用它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想了解如何使用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的烧烤:<一href="http://benalman.com/projects/jquery-bbq-plugin/">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.

这篇关于jQuery的解决你如何使用它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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