Thank you so much i got it to work!
Now i am a bit confused about how to get it to work making multiple
elements draggable.
I understand with this code, i would then create new divs with new
IDs such as draggable4 and draggable5 however how would i make it work
with the following code from OpenCart:
<?php foreach ($products as $product) { ?>
<?php if ($product['thumb']) { ?>
<a href="<?php echo
$product['href']; ?>"><img src="<?php
echo $product['thumb']; ?>" alt="<?php echo $product
['name']; ?>" title="<?php echo
$product['name']; ?>"
class="img-thumbnail" /></a> <BR> <a
href="<?php echo $product['href'];
?>"><?php echo $product['name']; ?></a>
The above code dictates that if there is an item in my shopping
cart to display the thumbnail, and i would like for those thumbnails
to be able to be dragged around
Every time i try and place the drag code into this page, it works
except only the 1st thumbnail that appears becomes draggable
Would anybody know how to make it so that each thumbnail can be
dragged around?