English 中文(简体)
从同位素集装箱中删除物品
原标题:removing items from Isotope container

If you go to this page, you can search for artists to subscribe to, then subscribe to an artist in the search results by clicking subscribe .

如果您是艺术家,然后试图不收钱,艺术家就不会从名单上删除,但你第二次点击了未提交书的纽特。

注册艺术家名单储存在全球变量上。

An artist is added to the container when a user subscribes by calling

SF.subscribe = function(artistSelector, newArtist) {
    var subscribedArtist = $(newArtist);
    SF.container.append( subscribedArtist ).isotope(  appended , subscribedArtist );
}

An artist is removed from the container by calling

SF.unsubscribe = function(selector) {
    SF.container.isotope( remove , $(selector));
};

每次被点击时,同一参数值就被推入这一功能,因此我不知道为何第二次工作,而不是第一次。

只有当你订阅艺术家时,才试图在不复读一页的情况下,即,在首批装货时,没有出现与艺术家无关的问题。 上述职能载于global.js

最佳回答

相反,当你第一次点击时,就删除了搜索结果中的艺术家 s。 搜索结果中的四分之四和订阅中的四分之四都有相同的<代码>id。 建议<代码>id 订阅者不同

问题回答

暂无回答




相关问题
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.

热门标签