12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <!doctype html>
- <html>
- <head>
- <title>jsPlumb 1.3.7 - connection targets demonstration</title>
- <meta http-equiv="content-type" content="text/html;charset=utf-8" />
- <link rel="stylesheet" href="/mp.css">
- <link rel="stylesheet" href="../css/jsPlumbDemo.css">
- <link rel="stylesheet" href="../css/makeTargetDemo.css">
- </head>
- <body>
- <div class="menu"><a href="../../doc/1.3.7/usage.html" class="mplink">view documentation</a> | <a href="../../apidocs">view api docs</a> | <a href="mailto:simon.porritt@gmail.com" class="mplink">contact me</a> | <a href="http://code.google.com/p/jsplumb/" class="mplink">jsPlumb on Google code</a></div>
-
- <div id="window1" class="window">
- This entire div is a connection target. When you drop a connection on this
- div, a new Endpoint is created and the connection is attached to it. The new
- Endpoint has a dynamic anchor with locations at each of the four corners of the div.
- </div>
-
- <div id="window2" class="window">
- This div has three source endpoints from which you can drag an unlimited
- number of connections.
- </div>
-
- <div id="window3" class="window">
- This div is a connection target. When you drop a connection on it, a new Endpoint is created and the connection is attached to it. The new
- Endpoint is located exactly where on the div you let go of the mouse button.
- </div>
-
- <!-- div id="window3" class="window">
- This blue section in this div is a connection target. When you drop a connection on there, a new Endpoint is created and the connection is attached to it. The new
- Endpoint is located exactly where on the div you let go of the mouse button.
- <div id="window3Target"></div>
- </div-->
-
- <div id="window4" class="window">
- This entire div is a connection target. When you drop a connection on this
- div, a new Endpoint is created and the connection is attached to it. The new
- Endpoint is snapped to a 2x3 grid.
- </div>
-
- <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js'></script><script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js'></script>
-
- <script type='text/javascript' src='../js/jquery.jsPlumb-1.3.7-all-min.js'></script>
-
- <!-- demo code -->
- <script type="text/javascript" src="../js/1.3.7/makeTargetDemo.js"></script>
-
- <!-- demo helper code -->
- <script type="text/javascript" src="../js/1.3.7/demo-helper-jquery.js"></script>
-
- </body>
- </html>
|