简体   繁体   English

流沙jQuery无法正常工作

[英]quicksand jquery is not working

I am having hard times using the quicksand jquery plugin for flirtable portfolio. 我在使用quicksand jquery插件获取可挑剔的投资组合时遇到了困难。 I am on the verge of giving up this plugin but will be happy to know that I am wrong and there is a solution to my problem. 我即将放弃这个插件,但是很高兴知道我错了,并且可以解决我的问题。

My problem is that my quicksand is working on my local computer but the same exact code is not working on a remote server. 我的问题是我的流沙正在本地计算机上运行,​​但是相同的确切代码在远程服务器上却无法运行。

also the plugin (on my local machine) is working only using this version of Jquery: 而且该插件(在我的本地计算机上)仅在使用以下版本的Jquery时才有效:

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

Tried to put an updated code for the latest version and nothing works. 试图为最新版本放置更新的代码,但没有任何效果。 I dont know where is my problem? 我不知道我的问题在哪里?

can anyone help? 有人可以帮忙吗?

This is a link to the specific page: http://clients.tipoos.com/bs/portfolio.html 这是指向特定页面的链接: http : //clients.tipoos.com/bs/portfolio.html

Thanks 谢谢

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. 问题出在我的Notepad ++上,该文件将文件另存为UTF-8而没有BOM,从而以某种方式缩小了我的JS文件,并导致我的JS注释在将整个代码上传到服务器时对其进行了注释。 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. 不管如何-我不再使用流沙来过滤投资组合,而是转到同位素http://isotope.metafizzy.co/ ,这对我来说要好得多。

if you want to use it for commercial use you must pay $25 but it worth every cent. 如果您想将其用于商业用途,则必须支付25美元,但值得每一分钱。

hope that helps anyone.. 希望对任何人有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM