2011-12-05 84 views
0

我正在使用SlidesJS作爲自定義產品庫,並且無法識別當前幻燈片。 我已經使用animationStart:函數(當前),但是當我使用導航不準確。所有這些的範圍是從當前幻燈片的標題中獲取一些內容。SlidesJS幻燈片Id

謝謝, 索林!

+0

你可以添加示例代碼,因此它清楚其他:) –

+0

我問一個概念性的問題。 SlidesJS的文檔非常差,我想知道是否有人知道或有過這個問題 –

回答

1

SlidesJS documentationanimationComplete()

$("#slides").slides({ 
    animationComplete: function(current) { 
     console.log(current); // Log the current slide number to the console 
    } 
    });