0
不能得到這個插件來爲我工作:https://github.com/morr/jquery.appear警報出現
使用Ajax是指從這個CDN到插件:http://cdnjs.cloudflare.com/ajax/libs/jquery.appear/0.3.3/jquery.appear.js
我在做什麼錯?我想報警時,DIV ID #footer的是在口中。
$.ajax({
url: '//cdnjs.cloudflare.com/ajax/libs/jquery.appear/0.3.3/jquery.appear.js',
dataType: 'script',
cache: true,
success: function() {
$("#footer").appear(function() {
alert('I see a footer!');
});
}
});
非常感謝你皮埃爾! – Hbaecklund