0

わかりましたので、Jquery Jcarouselを使用しているページに2つのインスタンスがありますが、ここに問題があります...

インスタンスの 1 つは「スライドショー」または「画像ギャラリー」なので、カルーセルを 1 つずつ循環させる必要があります...

フッターには、「事実」のリストが一度に 3 サイクル レートで循環している別のインスタンスがあります。

基本的にケーキを食べて食べることができるように、どうすればこれを回避できますか?

スライドショーを 1 つずつ循環させ、一度に 3 つの項目を循環させる「事実」リストを作成したいと考えています。

関数を「事実」のような別のものにコピーして名前を変更しようとしましたが、これは機能しませんでした。

これは私が使用しているプラ​​グインです: http://sorgalla.com/jcarousel/

ヘルプ!

4

1 に答える 1

3

それは彼らのドキュメントにあります:

jQuery(document).ready(function() {
    // Initialise the first and second carousel by class selector.
    // Note that they use both the same configuration options (none in this case).
    jQuery('.first-and-second-carousel').jcarousel();

    // If you want to use a caoursel with different configuration options,
    // you have to initialise it seperately.
    // We do it by an id selector here.
    jQuery('#third-carousel').jcarousel({
        vertical: true
    });
});
于 2012-09-18T02:32:31.067 に答える