+++ /dev/null
-<html>
-<head>
-<script type="text/javascript" src="commons.js"></script>
-<script type="text/javascript" src="xynt-dd.js"></script>
-<script type="text/javascript" src="xynt-link.js"></script>
-<script type="text/javascript">
-
-function exchange()
-{
- r1 = $('r1');
- r2 = $('r2');
- pr1 = r1.parentNode;
- pr2 = r2.parentNode;
-
- pr1.removeChild(r1);
- pr1.removeChild(r2);
-
- pr1.appendChild(r2);
- pr1.appendChild(r1);
-
-}
-
-function dropr1()
-{
- ; // alert("r1");
-}
-
-function dropr2()
-{
- ; // alert("r2");
-}
-
-function dropr3()
-{
- ; // alert("r3");
-}
-
-function dropr4()
-{
- ; // alert("r4");
-}
-
-window.onload = function () {
- // window.setTimeout(exchange, 2000);
-
- Drag.call($('t1'), dropr1, -1600, 1600, 10,10);
- Drag.call($('t2'), dropr2, -1600, 1600, 10,10);
- Drag.call($('t3'), dropr1, -1600, 1600, 10,10);
- Drag.call($('t4'), dropr2, -1600, 1600, 10,10);
-
- Drag.call($('r1'), dropr1, 0,0, -900,900);
- Drag.call($('r2'), dropr2, 0,0, -900,900);
- Drag.call($('r3'), dropr3, 0,0, -900,900);
- Drag.call($('r4'), dropr4, 0,0, -900,900);
-
- l = new tasks_link($('board'), $('t1'), $('t2'), "ss");
- l = new tasks_link($('board'), $('t3'), $('t4'), "ss");
-
-}
-</script>
-
-</head>
-<body>
-<!-- task:begin -->
-<div id="board" style="width: 1600; height: 800px; background-color: #f0f0f0; border: 1px solid black; position: relative;">
- <div id="r1" style="width: 1600; height: 40px; left: 0px; top: 0px; background-color: #e8e8e8; border: 0px solid red; position: absolute;">
- <div id="t1" style="z-index: 1; left: 10px; top: 10px; width: 100px; height: 21px; border: 1px solid gray; background-color: #c0c0ff; position: absolute;"></div>
- </div>
-
- <div id="r2" style="width: 1600; left: 0px; top: 40px; height: 40px; background-color: #e8e8ff; border: 0px solid red; position: absolute;">
- <div id="t2" style="z-index: 1; left: 123px; top: 10px; width: 100px; height: 21px; border: 1px solid gray; background-color: #c0ffc0; position: absolute;"></div>
- </div>
-
- <div id="r3" style="width: 1600; height: 40px; left: 0px; top: 80px; background-color: #e8e8e8; border: 0px solid red; position: absolute;">
- <div id="t3" style="z-index: 1; left: 10px; top: 10px; width: 100px; height: 21px; border: 1px solid gray; background-color: #c0c0ff; position: absolute;"></div>
- </div>
-
- <div id="r4" style="width: 1600; left: 0px; top: 120px; height: 40px; background-color: #e8e8ff; border: 0px solid red; position: absolute;">
- <div id="t4" style="z-index: 1; left: 123px; top: 10px; width: 100px; height: 21px; border: 1px solid gray; background-color: #c0ffc0; position: absolute;"></div>
- </div>
-
- <!-- task:end -->
-
-
-</div>
-</body>
-</html>