Hello,
How can I:
- delete the "grab" in the slider, so visitor has no control at all over the slides?
- make the transition of the slider different? For example fade?
https://www.frederic-desauw.be/test/jv/index-oldb.html
Thanks in advance!!
9 replies · opened Jan 28, 2019
Hello,
How can I:
https://www.frederic-desauw.be/test/jv/index-oldb.html
Thanks in advance!!
data-grab=”false” is part of the solution for the first question. But then I still can swipe through. How can I disable this?
Second question is solved.
Only the question to disable the swipe through the slider images. (so visitor gets no control)
data-effect="fade" (second question)
data-grab="false" --> How can I disable the swipe through the slider images, si visitor gets no control??
https://www.frederic-desauw.be/test/jv/index-oldb.html
I've updated the link.
Only question remaining: How can I disable the swipe through the slider images, si visitor gets no control??
something to do with simulateTouch="False" ? Correct?
Where/how do I have to put this?
Anyone? Help?
I still didn't find a good solution. Any advice?
Do I have to change this?
jQuery(document).ready(function($) {
var swiperSlider = $('.swiper-parent')[0].swiper;
swiperSlider.enableKeyboardControl();
});Hello,
Thank You so much for your Valuable Patience!
To disable the Grab Effect on the Slider, add the data-grab="false" Attribute on the .slider-element Container.
To use the Fade Effect on the Slider, add the data-effect="fade" Attribute on the .slider-element Container.
To disable user control, find the following code in the js/functions.js File inside the sliderRun: function() Function Block:
swiperSlider = new Swiper( element.find('.swiper-parent') ,{
direction: elementDirection,
speed: Number( elementSpeed ),and replace it with:
swiperSlider = new Swiper( element.find('.swiper-parent') ,{
direction: elementDirection,
speed: Number( elementSpeed ),
simulateTouch: false,
allowTouchMove: false,This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard