View Full Version : Help combining Javascript

07-06-2006, 01:23 AM
Here's a challenge for Javascript wizards!

I have adapted an open source JS app here:

It's pretty cool. But what I am trying to work out is: Once I have an
image loaded in the left frame, how do I combine a script that would
enable me to delete the new image (from the left frame only)?

I have made each of the left hand elements a <div> and I am trying to
figure out how to delete the element. Once it is selected it can be
moved. Easiest solution as I see it would be to move the picture into
trash, as shown in this shopping cart demo.

So what I would like to do is combine the "drag and drop" function with
the "remove from cart" function.

Is this even possible?

Any help (especially sample code!) you could give would be much appreciated.