English 中文(简体)
Jquery: Uncating Classification 误差:目标编号<Object>无快速方法
原标题:Jquery: Uncaught TypeError: Object #<Object> has no method quicksand

我只字不提“大鼠:目标号没有快速方法”,我看不出错误来自何地。 我很新,可以 j笑Qu语和 Java语,而不是确定什么是错的。

我正在尝试这方面的实例:

我拿到了这一代码,我掌握了指数档案,我可以看到它工作得当,因此,我刚刚将清单抄过并走了主。 j 内容与我已经必须履行这一职能:

$(document).ready(function () { 
$("#myController").jFlow({ controller: ".jFlowControl", slideWrapper: "#jFlowSlider", slides: "#mySlides", selectedWrapper: "jFlowSelected", width: "960px", height: "350px", duration: 400, prev: ".jFlowPrev", next: ".jFlowNext", auto: true }); 
$().UItoTop({ easingType:  easeOutQuart  }); jQuery("a[data-gal^= prettyPhoto ]").prettyPhoto({ social_tools: false });
 // get the action filter option item on page load
  var $filterType = $( #filterOptions li.active a ).attr( class );
  // get and assign the ourHolder element to the
    // $holder varible for use later
  var $dataholder = $( ul.ourHolder );

  // clone all items within the pre-assigned $holder element
  var $data = $dataholder.clone();

  // attempt to call Quicksand when a filter option
    // item is clicked
    $( #filterOptions li a ).click(function(e) {
        // reset the active class on all the buttons
        $( #filterOptions li ).removeClass( active );

        // assign the class of the clicked filter option
        // element to our $filterType variable
        var $filterType = $(this).attr( class );
        $(this).parent().addClass( active );

        if ($filterType ==  all ) {
            // assign all li items to the $filteredData var when
            // the  All  filter option is clicked
            var $filteredData = $data.find( li );
        } 
        else {
            // find all li elements that have our required $filterType
            // values for the data-type element
            var $filteredData = $data.find( li[data-type=  + $filterType +  ] );
        }

        // call quicksand and assign transition parameters
        $dataholder.quicksand($filteredData, {
            duration: 800,
            easing:  easeInOutQuad ,
            attribute: "data-id",
        });
        return false;
    });
    }
);

" But I get an error at : "$dataholder.quicksand($filteredData,duration: 800,easing: easeInOutQuad }); "

任何想法需要做些什么?

最佳回答

包括一份两本 j,在以前的版本中产生结果,所有gin本都成为压倒一切的。 消除其中一人会解决问题。

问题回答

暂无回答




相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签