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

158
Vistas
How do I make more than one element draggable in Javascript touch?

I'm not super familiar with javascript but I've been working with and fine-tuning this code. This is the best code I've found that's actually given me some results. That being said, now I'm struggling getting more than one object to drag. They both drag on desktop, but only 1 drags on mobile (whatever the most recent object is). So 'image' was dragging fine, but then I added 'image2' and now only image2 is dragging. I'm hoping to have many many objects, so I need to know how to add them and make them move correctly.

Again, not well-versed in this type of code so if you're able to be as detailed as possible that would be awesome. Thanks so much! Code link below

http://pastie.org/p/0nvv6BOWhnBSY10Adp6QDy

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