0

问题是当我拖动instafeed 滑块时,instafeed消失了。例子:

在拖动之前。 在左侧 - > instafeed

当我拖动时,它会像这样消失:

在此处输入图像描述

滑块隐藏 instagram 照片。 在此处输入图像描述

测试链接:http: //mindvelopers.com/test/test.php

这是我的代码:

即时通讯:

var feedslider = new Instafeed({

get: 'user',
userId: 240284198,
accessToken: '<?php echo $settings['instagram_token']; ?>',
limit: 18,
sortBy: 'most-recent',
target: 'instagram_slider',
after: function () {
    var images = $("#instagram_slider").find('a');
    $.each(images, function(index, image) {
        var delay = (index * 75) + 'ms';
        $(image).css('-webkit-animation-delay', delay);
        $(image).css('-moz-animation-delay', delay);
        $(image).css('-ms-animation-delay', delay);
        $(image).css('-o-animation-delay', delay);
        $(image).css('animation-delay', delay);
        $(image).addClass('animated flipInX');
    });
},

});

feedslider.run();

猫头鹰旋转木马:

$(function(){

$('#home-slider').owlCarousel({
center: true,
animateOut: 'slideOutDown',
animateIn: 'flipInX',
items:3,
autoWidth:true,
loop:true,
margin:0,
responsive:{600:{items:3}}     
});

});

PS:我在控制台上没有错误。

编辑:问题是猫头鹰轮播克隆了滑块。但是 instafeed 不能复制 ID。现在我需要复制 instafeed。如何?

4

0 回答 0