0

不知道这是否是正确的地方问.. 但这里。

我使用这个 jquery 插件:

http://akquinet.github.io/jquery-toastmessage-plugin/

它运作良好.. 但我只希望关闭的 gif 出现在粘性消息中,而不是消失的消息。

有谁知道这是怎么做到的吗 ?

非常感谢 :)

4

1 回答 1

1

抱歉,我好像很快就发布了:(

改变这个:

i=c("<div></div>").addClass("toast-item-close").prependTo(d).html(g.closeText).click(function(){c().toastmessage("removeToast",d,g)
});

对此:

if (g.sticky) {i=c("<div></div>").addClass("toast-item-close").prependTo(d).html(g.closeText).click(function(){c().toastmessage("removeToast",d,g)
}); }

好像成功了。。

于 2013-05-18T12:59:00.183 回答