开发者

javascript jquery plugin clashes

A simple gallery works fine with:

http://code.jquery.com/jquery-1.5.1.min.js and

But when I add the following for a "quicksand"开发者_运维百科 filter the gallery stops working:

Could there be an easy fix without trawling through all the code to find clashes? Thanks.


You are including jQuery twice. One time by hand, and one time via the zabb.co.uk URL. For the 'quicksand' plugin find a file that doesn't include jQuery but only the plugin.

It's even in the HTML source:

<!-- DO NOT USE THESE FILES. they are compiled for fast http access -->
<!-- if you’re looking for source, download or read documentation -->

So grab them from the GitHub repo for quicksand.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜