Fullpage.js Slide horizontal on scroll
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Im using fullpage.js to achieve vertical and horizontal scroll. i want the slider to slide when i scroll on Section 2. Functionality similar to this website Here's my code : $(document).ready(function() { $('#fullpage').fullpage({ sectionsColor: ['#1bbc9b', '#4BBFC3', '#7BAABE', 'whitesmoke', '#ccddff'], anchors: ['firstPage', 'secondPage', '3rdPage', '4thpage', 'lastPage'], menu: '#menu', css3: true, loop: false, afterLoad: function(anchorLink, index) { var loadedSection = $(this); //using index if (index == 3) { $.fn.fullpage