Problem when using Interactjs

Asked

Viewed 28 times

1

I’m having a problem trying to use as a library Interactjs.

At this time the my code, as you can see, you are invoking the files necessary for the correct execution of the example:

<link href="css/drag-drop.css" rel="stylesheet">

and

<script src="js/drag-drop.js"></script>

However the behavior does not occur.

The code HTML is as exemplified on the page:

<div id="no-drop" class="draggable drag-drop"> #no-drop </div>

    <div id="yes-drop" class="draggable drag-drop"> #yes-drop </div>

    <div id="outer-dropzone" class="dropzone">
        #outer-dropzone
    <div id="inner-dropzone" class="dropzone">#inner-dropzone</div>

</div>

I can’t understand what I’m doing wrong.

  • 1

    You’ve included a lot of library that isn’t even being used in the project, the angular js, is an example. You didn’t even call the ng-app, so include the library, it’s just to pollute?

  • 1

    See on your browser console, which has a lot of file with 404 error.

  • 1

    JS Fiddle has a field for you to include external libraries.

  • @Ivanferrer’s version of the Prototype being used here as an example of the problem is the Nonfunctional where there is another Functional that has some more libraries, then these will be there.

  • @Ivanferrer I will see how I can put the external libraries in the field of JS Fiddle of which you speak.

  • 1

    So, create a jsfiddle only with the presented and functional problem so someone can help you.

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.