无法使用jqueryfullpage滚动覆盖滑动滚动
我正在为我的网站使用JqueryFullpage插件。里面有一个垂直光滑的卷轴。当我使用鼠标或手机滚动滑动条时,滑动条的滚动不会生效,而jqueryfullpage滚动会生效 下面是我的全页代码无法使用jqueryfullpage滚动覆盖滑动滚动,jquery,fullpage.js,slick.js,Jquery,Fullpage.js,Slick.js,我正在为我的网站使用JqueryFullpage插件。里面有一个垂直光滑的卷轴。当我使用鼠标或手机滚动滑动条时,滑动条的滚动不会生效,而jqueryfullpage滚动会生效 下面是我的全页代码 $('#fullpage').fullpage({ menu: '#menu', scrollingSpeed: 1000, //responsive: 991, scrollBar: true, navig
$('#fullpage').fullpage({
menu: '#menu',
scrollingSpeed: 1000, //responsive: 991,
scrollBar: true,
navigation: true,
responsiveHeight: 540,
touchSensitivity: 10,
resize: false,
navigationPosition: 'right',
afterLoad: function(anchorLink, index) {
$(this).find('.animated').each(function() {
$(this).addClass('in');
});
$('.section:not(".active")').find('.animated').each(function() {
$(this).removeClass('in');
});
},
afterRender: function() {},
});
下面是我对slick的代码
$(".vertical").slick({
dots: false,
vertical: true,
slidesToShow: 4,
slidesToScroll: 3,
nextArrow: '.slick-prev',
prevArrow: '.slick-next',
verticalSwiping: true,
verticalScrolling: true,
swipe:true,
})
哈利波
您是否尝试过:
“normalScrollElements:(默认为空)如果要避免在滚动某些元素时自动滚动,则需要使用此选项。(对地图、滚动div等有用)。这些元素需要带有jQuery选择器的字符串。(例如:normalScrollElements:'#element1、.element2')。此选项不应应用于任何截面/滑块元件本身。“。。。。Ys