Zaloguj | Zarejestruj | FAQ
Anonymous

Drag and drop

+ Odpowiedz

Posty: 2 Strona 1 z 1


Drag and drop

przez EugeneVayres » Śr sty 22, 2014 10:42 am

Hello, I'm new to HTML5 and just finished Drag and drop tutorial.

I have a question, how to finish drag and drop with new image? I mean, i drag image1 to image2 to get image3 in result.

I thought it must be something with dragend function but i cant figure out how to do it.

I want to drag One image into Another and get Different picture as a result. But with tutorial after drag and drop i get 1st basic image.

Thank you.

Załączniki

  1. example.png (169.37 KiB) Pobrane 2196 razy
    Image about what I'm trying to do.

Avatar użytkownika

EugeneVayres

  • Posty: 1
  • Dołączył(a): Śr sty 22, 2014 10:28 am

Re: Drag and drop

przez XainPro » Cz sty 23, 2014 12:59 pm

the thing you want to do is mixture of drag and drop and html 5 canvas
here is a good lesson on that

http://www.html5canvastutorials.com/lab ... rt-images/
Avatar użytkownika

XainPro

  • Posty: 3933
  • Dołączył(a): Pt lut 17, 2012 8:10 pm


+ Odpowiedz

Strona 1 z 1