創造一個自適應的section:ide
在 section 類旁邊加上類 fp-auto-height 例如:<div class="section fp-auto-height">Auto height</div>函數
不返回第一頁(第一頁只出現一次):spa
利用回調函數: onLeave (index
, nextIndex
, direction
)監聽 nextIndex , 當是第一頁時 return false; code
把它當監聽鼠標滾輪事件:slide經過 鼠標滾輪 滑動,不翻頁。事件