2
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml">
6
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
<title>jsTree v.1.0 - unique documentation</title>
8
<script type="text/javascript" src="../_lib/jquery.js"></script>
9
<script type="text/javascript" src="../_lib/jquery.cookie.js"></script>
10
<script type="text/javascript" src="../_lib/jquery.hotkeys.js"></script>
11
<script type="text/javascript" src="../jquery.jstree.js"></script>
13
<link type="text/css" rel="stylesheet" href="syntax/!style.css"/>
14
<link type="text/css" rel="stylesheet" href="!style.css"/>
15
<script type="text/javascript" src="syntax/!script.js"></script>
20
<h1>jsTree v.1.0 - unique plugin</h1>
22
<div id="description">
23
<p>The <code>unique</code> plugin prevents from nodes with same titles coexisting (create/move/rename) in the same parent.</p>
26
<h2 id="demos">Demos</h2>
28
<p>Try moving the child nodes together (drag'n'drop).</p>
30
<h3>Using the unique plugin</h3>
31
<div id="demo1" class="demo">
34
<a href="#">Root node 1</a>
37
<a href="#">Child node 1</a>
42
<a href="#">Root node 2</a>
45
<a href="#">Child node 1</a>
51
<script type="text/javascript" class="source">
54
"plugins" : [ "themes", "html_data", "dnd", "unique" ]
62
<div class="panel api">
64
<h3 id="save_cookie">._check_unique ( names, siblings )</h3>
65
<p>Used internally - checks the names array against the sibling nodes for matches.</p>
b'\\ No newline at end of file'