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

103
Views
Habilitar la función táctil en el control deslizante de imágenes del producto

Tengo un control deslizante de imagen del producto.

Puede pasar a la siguiente diapositiva utilizando los círculos laterales. ingrese la descripción de la imagen aquí

Quiero hacer clic en la foto para ir a la siguiente diapositiva. Y esta función también se puede admitir en dispositivos móviles.

Mi código JavaScript:

 function controls() { $(this).addClass('selected').siblings('button').removeClass('selected'); $('.slideDiv1000').animate({ top: -$('.container1000').height() * $(this).index() }, 450); } /***Event Listeners***/ const runCode = () => { const button = document.querySelectorAll('.button'); if ( button ) { for ( var i = 0; i < button.length; i++ ) { button[i].addEventListener('click', controls, false); } } } runCode();
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!