[jQuery] Draggable

[jQuery] Draggable

Hy jquery users,
I found a solution to my last problem. I just call jquery again and set all my
div's as draggable again. Step by step I understand more how all this
works :-)
I have another problem now. I want to create a trash bin.
When I drag an item in there and this draggable is set as "revert" its
position still gets reverted and then its deleted.
I would like to it gets reverted only when I place it outside the drop area.
Is there a way to achieve this?
This is what I try so far but the revert:false seems to be ignored:
$('#backdrop').Droppable(
        {
            accept :        'items',
            tolerance:    'intersect',
            ondrop:        function(drag)
            {
                $('.items').Draggable(
                {
                    revert:        false
                }
                );
                $(drag2).remove();
            }
        }
        );
    });
Markus
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/