Hello.
When I make a draggable clone and drop it in a droppable I cannot drag it again. How do I do that. Secondly I can only figure out how to us .append to add the clone to the droppable. But then it snap to the top most left corner after any exsisting element and not the drop position.
$(document).ready(function() {
$("#container").droppable({
drop: function(event, ui) {
$(this).append($(ui.draggable).clone());
}
});
$(".product").draggable({
helper: 'clone'
});
});
</script>
<div id="container">
</div>
<div id="products">
<img id="productid_1" src="images/pic1.jpg" class="product" alt="" title="" />
<img id="productid_2" src="images/pic2.jpg" class="product" alt="" title="" />
<img id="productid_3" src="images/pic3.jpg" class="product" alt="" title="" />
</div>