I have droppable box and when I put draggable box, I want this draggable to be 5px from left and 5px from top of that drop box?
I tried this:
- drop: function(){
- var offset = $(this).offset();
- $('.drag').css{
- position: 'absolute',
- top: '5px',
- left: '5px'
- }
- }