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

163
Views
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
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!