Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

234
Views
Revslider | Disable Touch Swipe on specific layer

I can prevent the Mouse Wheel Navigation, on a Layer which have scrollable content with the code bellow but can't find any way to disable Touch event.

// Disable mousewheel when inside the form.
$(window).bind('mousewheel DOMMouseScroll', function(event){ return false});
$('#slider-1-slide-4-layer-6').bind('mousewheel DOMMouseScroll', function (e) { return false; });

// Prevent Scroll On Scrollable Elements
document.querySelector('#slider-1-slide-4-layer-6').addEventListener('wheel', preventScroll, {passive: false});
function preventScroll(e){
    e.preventDefault();
    e.stopPropagation();

    return false;
} 

How can I disable touch swiping for navigate to the previous/next slides only on this scrollable layer '#slider-1-slide-4-layer-6' ?

You can see the behavior (slide 2) here

Any help would be appreciated..

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!