小编hum*_*ing的帖子

未捕获的TypeError:无法调用未定义的方法'split'

我试图在我的网站上加入Quicksand脚本,但我失败了.
Firebug给了我这个错误65 Uncaught TypeError: Cannot call method 'split' of undefined:

对于这个脚本:

jQuery.noConflict();
jQuery(document).ready(function($){
    // Clone applications to get a second collection
    var $data = $("#portfolio-items").clone();

    //NOTE: Only filter on the main portfolio page, not on the subcategory pages
    $('#portfolio-terms ul li').click(function(e) {
        $("ul li").removeClass("active");   
        // Use the last category class as the category to filter by. This means that multiple categories are not supported (yet)
        var filterClass=$(this).attr('class').split(' ').slice(-1)[0];
jquery.custom.js:65 Uncaught TypeError: Cannot call method 'split' of undefined (repeated …
Run Code Online (Sandbox Code Playgroud)

jquery

7
推荐指数
1
解决办法
4万
查看次数

jQuery Skitter Slideshow错误

我有jQuery Skitter Slideshow的问题.它不起作用!
我在浏览器的元素检查器中发现了一个错误:
Uncaught TypeError: Object [object Object] has no method 'skitter'

测试在这里:[模糊]
问题是什么?

jquery object slideshow skitter-slider

1
推荐指数
1
解决办法
2342
查看次数

为什么我的页面内容会自行移动?

去这里:[模糊]

当我点击任何过滤器然后我点击"全部"过滤器时,内容向左移动一点点.为什么?

css

0
推荐指数
1
解决办法
89
查看次数

标签 统计

jquery ×2

css ×1

object ×1

skitter-slider ×1

slideshow ×1