1 |
---|
2 |
---|
3 |
---|
4 |
---|
5 |
---|
6 |
---|
7 |
---|
8 |
---|
9 |
---|
10 |
---|
11 |
---|
12 |
---|
13 |
---|
14 |
---|
15 |
---|
16 |
---|
17 |
---|
18 |
---|
19 |
---|
20 |
---|
21 |
---|
22 |
---|
23 |
---|
24 |
---|
25 |
---|
26 |
---|
27 |
---|
28 |
---|
29 |
---|
30 |
---|
31 |
---|
32 |
---|
33 |
---|
34 |
---|
35 |
---|
36 |
---|
37 |
---|
38 |
---|
39 |
---|
40 |
---|
41 |
---|
42 |
---|
43 |
---|
44 |
---|
45 |
---|
46 |
---|
47 |
---|
48 |
---|
49 |
---|
| <script type="text/javascript"> | var tree = new TafelTree("idTree", myJSONstruct, { | "generate" : true, | "imgBase" : "imgs/", | "width" : "300px", | "height" : "250px", | "defaultImg" : "page.gif", | "defaultImgOpen" : "folderopen.gif", | "defaultImgClose" : "folder.gif", | "defaultImgSelected" : "page.gif", | "defaultImgOpenSelected" : "folderopen.gif", | "defaultImgCloseSelected" : "folder.gif", | "onLoad" : myFuncLoad, | "onDebug" : myFuncDebug, | "onCheck" : myFuncCheck, | "onBeforeCheck" : myFuncBeforeCheck, | "onClick" : myFuncClick, | "onDblClick" : myFuncDblClick, | "onBeforeOpen" : myFuncBeforeOpen, | "onOpen" : myFunconOpen, | "onMouseOver" : myFuncMouseOver, | "onMouseOut" : myFuncMouseOut, | "onMouseDown" : myFuncMouseDown, | "onMouseUp" : myFuncMouseUp, | "onDrop" : myFuncDrop, | "onEdit" : myFuncEdit, | "onEditAjax" : [myFuncEditAjax, "server/edit.php"], | "onDropAjax" : [myFuncDropAjax, "server/drop.php"] | "onOpenPopulate" : [myFuncOpenPopulate, "server/open.php"], | "multiline" : false, | "checkboxes" : false, | "checkboxesThreeState" : false, | "cookies" : true, | "openOneAtOnce" : false, | "openAtLoad" : true, | "openAfterAdd" : true, | "showSelectedBranch" : true, | "lineStyle" : "line", | "rtlMode" : false, | "dropALT" : true, | "dropCTRL" : false, | "propagateRestriction" : true, | "reopenFromServer" : true, | "behaviourDrop" : "child", | "bind" : [treeToBind, otherTree], | "bindAsUnidirectional" : [treeToBind2] | }); | </script> | |
|