Search code examples
javascriptdrag-and-dropfading

Drag and drop crossfading using Javascript


I'm looking to drag and drop a png image over another png image in the fashion of a cross fade using Javascript. I researched a little and could only come across similar situations but the ones I found were mostly automatic (couldn't do manual drag and drop) and they were fading, not cross fading. I'm just wondering, does anyone have any ideas as to what is the best way to approach this situation and try to develop this feature?

Thanks


Solution

  • You can use Jqueryui draggable

    for that.

    and you can use jquery effects too along with it

    or for effects this plugin might help you Jquery cycle

    or check this cross fade image