matiasgali/guillotine

Dragging isn't working when applying guillotine on a <div> instead of <img>

omarqe opened this issue · 0 comments

The drag feature is not working when I apply it on #src. Help? My code looks pretty much like this:

HTML
<div class="picture-container" style="width:80%"><div id="src" style="background-image:url(http://localhost/images/image.jpg)></div></div>

JS
var p = $('#src'); p.guillotine();