dragAnimDemo.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <title>jsPlumb 1.3.7 - animated draggable connectors demonstration - MooTools</title>
  5. <meta http-equiv="content-type" content="text/html;charset=utf-8" />
  6. <link rel="stylesheet" href="../css/jsPlumbDemo.css">
  7. <link rel="stylesheet" href="../css/dragAnimDemo.css">
  8. </head>
  9. <body onunload="jsPlumb.unload();" data-demo-id="dragAnimDemo" data-library="mootools">
  10. <div id="demo">
  11. <div class="bigdot" id="bd1"></div>
  12. <div class="bigdot" id="bd2"></div>
  13. <div class="bigdot" id="bd3"></div>
  14. <div class="bigdot" id="bd4"></div>
  15. </div>
  16. <div id="explanation">
  17. <p>This is a demonstration of jsPlumb's 'animate' method.</p>
  18. <p>Drag orange dots to create connections.</p>
  19. <p>Click on or near blue dots to make them move in that direction.</p>
  20. <p><a id="add" href="#" class="cmd">add a disc</a></p>
  21. <p><a id="clear" href="#" class="cmd">remove all connections</a></p>
  22. <p>this demo uses jsPlumb 1.3.7, MooTools 1.3.2 and MooTools More 1.3.2.1.</p>
  23. </div>
  24. <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/mootools/1.3.2/mootools-yui-compressed.js'></script>
  25. <script type="text/javascript" src="../js/mootools-1.3.2.1-more.js"></script>
  26. <script type='text/javascript' src='../js/mootools.jsPlumb-1.3.7-all-min.js'></script>
  27. <!-- demo code -->
  28. <script type="text/javascript" src="../js/dragAnimDemo.js"></script>
  29. <script type="text/javascript" src="../js/dragAnimDemo-mootools.js"></script>
  30. <!-- demo helper code -->
  31. <script type="text/javascript" src="../js/demo-list.js"></script>
  32. <script type="text/javascript" src="../js/demo-helper-mootools.js"></script>
  33. </body>
  34. </html>