-1
我正在制作一个使用jquery-masonry的wordpress主题,但对于我的生活我无法弄清楚如何在isAnimatedFromBottom中使用append方法。以下是我目前使用的代码。我试图让这个与jetpack无限滚动工作。jQuery砌体IsAnimatedFromBottom in Wordpress
任何洞察力或帮助非常感谢。
jQuery(document).ready(function($) {
var $container = $('#content');
$container.imagesLoaded(function(){
$container.masonry({
itemSelector: '.post',
isAnimated: true,
animationOptions: {
duration: 300,
easing: 'linear',
queue: false
}
});
});
});