1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <!doctype html>
- <html>
- <head>
- <title>jsPlumb 1.3.7 - Dynamic Anchors Demonstration - jQuery</title>
- <meta http-equiv="content-type" content="text/html;charset=utf-8" />
- <link rel="stylesheet" href="../css/jsPlumbDemo.css">
- <link rel="stylesheet" href="../css/dynamicAnchorsDemo.css">
- </head>
- <body onunload="jsPlumb.unload();" data-demo-id="dynamicAnchorsDemo" data-library="jquery">
- <div id="demo">
- <div class="window" id="window1"><strong>1</strong><br/><br/></div>
- <div class="window" id="window2"><strong>2</strong><br/><br/></div>
- <div class="window" id="window3"><strong>3</strong><br/><br/></div>
- <div class="window" id="window4"><strong>4</strong><br/><br/></div>
- <div class="window" id="window5"><strong>5</strong><br/><br/></div>
- <div class="window" id="window6"><strong>6</strong><br/><br/></div>
- </div>
- <div id="explanation">
- <p>This is a demonstration of anchors that change position dependent on the location of the other element in a connection. Each connection is decorated with a jsPlumb.Overlays.Diamond, located halfway along the connector.</p>
- <p>You can drag new connections between blue endpoints.</p>
- <p>This demonstration uses jsPlumb 1.3.7, jQuery 1.7.1 and jQuery UI 1.8.13.</p>
- </div>
- <!-- DEP -->
- <script type="text/javascript" src="../../js/lib/jquery-1.7.1-min.js"></script>
- <script type="text/javascript" src="../../js/lib/jquery-ui-1.8.13-min.js"></script>
- <!-- /DEP -->
-
- <!-- JS -->
- <!-- support lib for bezier stuff -->
- <script type="text/javascript" src="../../js/lib/jsBezier-0.3-min.js"></script>
- <!-- main jsplumb engine -->
- <script type="text/javascript" src="../../js/1.3.7/jsPlumb-1.3.7-RC1.js"></script>
- <!-- connectors, endpoint and overlays -->
- <script type="text/javascript" src="../../js/1.3.7/jsPlumb-defaults-1.3.7-RC1.js"></script>
- <!-- state machine connectors -->
- <script type="text/javascript" src="../../js/1.3.7/jsPlumb-connectors-statemachine-1.3.7-RC1.js"></script>
- <!-- SVG renderer -->
- <script type="text/javascript" src="../../js/1.3.7/jsPlumb-renderers-svg-1.3.7-RC1.js"></script>
- <!-- canvas renderer -->
- <script type="text/javascript" src="../../js/1.3.7/jsPlumb-renderers-canvas-1.3.7-RC1.js"></script>
- <!-- vml renderer -->
- <script type="text/javascript" src="../../js/1.3.7/jsPlumb-renderers-vml-1.3.7-RC1.js"></script>
- <!-- jquery jsPlumb adapter -->
- <script type="text/javascript" src="../../js/1.3.7/jquery.jsPlumb-1.3.7-RC1.js"></script>
- <!-- layouts -->
- <script type="text/javascript" src="../../js/1.3.7/jsPlumb-layout-0.1-RC1.js"></script>
- <!-- /JS -->
-
- <!-- demo code -->
- <script type="text/javascript" src="../js/dynamicAnchorsDemo.js"></script>
-
- <!-- demo helper code -->
- <script type="text/javascript" src="../js/demo-list.js"></script>
- <script type="text/javascript" src="../js/demo-helper-jquery.js"></script>
- </body>
- </html>
|