Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

236
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda