Skip to content

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

@omarqe

Description

@omarqe

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();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions