2014-03-27 28 views
0

我有一個旋轉木馬,但不知何故最後拇指不工作,你可以雙擊它,並顯示錯誤的大圖片。我真的無法找到問題:(轉盤最後拇指不起作用


這裏它與過去的拇指:CAROUSEL

這不:FIDDLE


腳本:

$(function() { 

     $('#carousel').carouFredSel({ 
       responsive: false, 
       circular: false, 
       auto: false, 
       items: { 
       visible: 2, 
       width: 1000, 
       height: '475' 
       }, 
       scroll: { 
       fx: 'crossfade' 
      } 
     }); 

     $('#thumbs').carouFredSel({ 
       responsive: true, 
       circular: false, 
       infinite: false, 
       auto: false, 
       prev: '#prev', 
       next: '#next', 
       items: { 
       visible: { 
       min: 2, 
       max: 4 
      }, 
       width: 254, 
       height: 112 
      } 
     }); 

     $('#thumbs a').click(function() { 
     $('#carousel').trigger('slideTo', '#' + this.href.split('#').pop()); 
     $('#thumbs a').removeClass('selected'); 
     $(this).addClass('selected'); 
     return false; 
    }); 

    }); 

回答

0

$( '#轉盤')carouFredSel({是

可見需要:1和不可見:2