0

我很难使用流沙 jquery 插件来调情投资组合。我即将放弃这个插件,但很高兴知道我错了并且有解决我的问题的方法。

我的问题是我的流沙在我的本地计算机上工作,但相同的代码在远程服务器上不起作用。

插件(在我的本地机器上)也只能使用这个版本的 Jquery:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>

试图为最新版本添加更新代码,但没有任何效果。我不知道我的问题在哪里?

谁能帮忙?

这是特定页面的链接: http: //clients.tipoos.com/bs/portfolio.html

谢谢

4

1 回答 1

1

OK so I found the problem myself finally. The problem was with my Notepad++ which saved the files as UTF-8 without BOM which somehow minified my JS file and caused my JS comments to comment the whole code when it was uploaded to the server. I took the comments off and it worked

regardless - I stopped working with quicksand for filtering portfolio and moved to isotope http://isotope.metafizzy.co/ which was much better for me.

if you want to use it for commercial use you must pay $25 but it worth every cent.

hope that helps anyone..

于 2013-09-15T12:22:09.313 回答