0

是否可以使用相同的幻灯片设置两个部分?就像如果我在(第 1 节幻灯片 1)然后我移动(到第 1 节幻灯片 2),第 2 节将设置幻灯片 2。

我想知道这在 fullpage.js 中是否可行

我想创建类似的。 jsfiddle.net/7p927/

 <div class="section" id="first">
   <div class="slide">1</div>
   <div class="slide">2</div>
   <div class="slide">3</div>
 </div>
 <div class="section" id="second">
   <div class="slide">1</div>
   <div class="slide">2</div>
   <div class="slide">3</div>
 </div>
4

1 回答 1

1

No, it is not possible right now. But you can take a look at some modifications which you could do in the plugin to achieve it.

Take a look at this answer: https://github.com/alvarotrigo/fullPage.js/issues/129#issuecomment-30747985

Then you could call that function in some callback such as afterSlideLoad.

于 2014-05-20T09:10:16.010 回答