将jQuery插件更新为1.6

时间:2012-01-17 16:28:25

标签: jquery jquery-plugins version

我使用jQuery插件(jParallax),它与jQuery 1.3.2配合得很好但不是上面的。 我需要将它更新为jQuery 1.6,但不知道如何做到这一点。

是否有任何文档总结了jQuery版本之间的差异? 或者其他什么可以提供帮助?

3 个答案:

答案 0 :(得分:2)

引用OP:

  

是否有任何文件总结了两者之间的差异   jQuery版本?

点击版本1.4到1.6 ...

旁边的每个“发行说明”链接

http://docs.jquery.com/Downloading_jQuery#Download_jQuery


或者,我认为使用最新的jQuery 1.7和不同的插件(或从头开始编写自己的插件)会更容易。

http://www.franckmaurin.com/the-parallax-effects-with-jquery/

http://www.davecranwell.com/content/jquery-scroll-parallax-plugin

http://stephenmcintyre.net/blog/jquery-parallax-scrolling/

答案 1 :(得分:1)

您需要阅读发行说明中的​​重大更改部分:

jquery 1.6 Release Notes

答案 2 :(得分:1)

有一种简单的方法,就是检查jQuery Changelog。 Found Here

将URL中的1.6替换为您想要的版本号。

例如,您想知道jQuery 1.3.2和1.6之间的差异;因此,您需要检查这些更改日志(页面):

  

1.4.0 2010年1月14日
  1.4.1 2010年1月25日
  1.4.2 2010年2月19日
  1.4.3 2010年10月16日
  1.4.4 2010年11月11日
  1.5.0 2011年1月31日
  1.5.1 2011年2月24日
  1.5.2 2011年3月31日
  1.6.0 2011年5月3日