[jQuery] Re: Draggable Counting

2007-12-16 Thread Shawn
Nice sample. I can see places I could put this sort of interface to use right away. If I move a coin to one of the metrics the counter goes up by one. Good so far. Now if I pick up the coin and then just drop it again without moving it, the counter goes up again. Not so good. Perhaps inte

[jQuery] Re: Draggable Counting

2007-12-15 Thread Richard D. Worth
Glen, This is cool. I like it :) My first thought is to have your drop handler move the draggable element to a child container of the droppable, below the text. Then you just count the elements in that container, and it gets removed if it goes to another one, or back to the center/nowhere. The ot