jstree-rails 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/INSTALLER.sh +1 -0
- data/docs/c.gif +0 -0
- data/docs/e.gif +0 -0
- data/docs/files/_lib/jquery-js.html +50 -0
- data/docs/files/_license-txt.html +38 -0
- data/docs/files/_usage-txt.html +57 -0
- data/docs/files/jstree-checkbox-js.html +40 -0
- data/docs/files/jstree-contextmenu-js.html +40 -0
- data/docs/files/jstree-core-js.html +313 -0
- data/docs/files/jstree-dnd-js.html +40 -0
- data/docs/files/jstree-hotkeys-js.html +40 -0
- data/docs/files/jstree-html-js.html +40 -0
- data/docs/files/jstree-js.html +309 -0
- data/docs/files/jstree-json-js.html +40 -0
- data/docs/files/jstree-rules-js.html +40 -0
- data/docs/files/jstree-sort-js.html +40 -0
- data/docs/files/jstree-state-js.html +40 -0
- data/docs/files/jstree-themes-js.html +62 -0
- data/docs/files/jstree-ui-js.html +40 -0
- data/docs/files/jstree-unique-js.html +40 -0
- data/docs/files/jstree-xml-js.html +40 -0
- data/docs/files/vakata-js.html +260 -0
- data/docs/index.html +1 -0
- data/docs/index/Classes.html +33 -0
- data/docs/index/Events.html +41 -0
- data/docs/index/Files.html +37 -0
- data/docs/index/Functions.html +105 -0
- data/docs/index/General.html +65 -0
- data/docs/index/General2.html +73 -0
- data/docs/index/Variables.html +73 -0
- data/docs/javascript/main.js +841 -0
- data/docs/javascript/prettify.js +1526 -0
- data/docs/javascript/searchdata.js +182 -0
- data/docs/logo.png +0 -0
- data/docs/m.gif +0 -0
- data/docs/main.jpg +0 -0
- data/docs/p.gif +0 -0
- data/docs/search/ClassesJ.html +20 -0
- data/docs/search/EventsC.html +20 -0
- data/docs/search/EventsD.html +20 -0
- data/docs/search/EventsSymbols.html +20 -0
- data/docs/search/FilesH.html +20 -0
- data/docs/search/FilesJ.html +20 -0
- data/docs/search/FunctionsA.html +20 -0
- data/docs/search/FunctionsC.html +20 -0
- data/docs/search/FunctionsD.html +20 -0
- data/docs/search/FunctionsE.html +20 -0
- data/docs/search/FunctionsF.html +20 -0
- data/docs/search/FunctionsG.html +20 -0
- data/docs/search/FunctionsH.html +20 -0
- data/docs/search/FunctionsI.html +20 -0
- data/docs/search/FunctionsL.html +20 -0
- data/docs/search/FunctionsM.html +20 -0
- data/docs/search/FunctionsO.html +20 -0
- data/docs/search/FunctionsP.html +20 -0
- data/docs/search/FunctionsR.html +20 -0
- data/docs/search/FunctionsS.html +20 -0
- data/docs/search/FunctionsSymbols.html +20 -0
- data/docs/search/FunctionsT.html +20 -0
- data/docs/search/FunctionsU.html +20 -0
- data/docs/search/FunctionsV.html +20 -0
- data/docs/search/FunctionsX.html +20 -0
- data/docs/search/GeneralA.html +20 -0
- data/docs/search/GeneralC.html +20 -0
- data/docs/search/GeneralD.html +20 -0
- data/docs/search/GeneralE.html +20 -0
- data/docs/search/GeneralF.html +20 -0
- data/docs/search/GeneralG.html +20 -0
- data/docs/search/GeneralH.html +20 -0
- data/docs/search/GeneralI.html +20 -0
- data/docs/search/GeneralJ.html +20 -0
- data/docs/search/GeneralL.html +20 -0
- data/docs/search/GeneralM.html +20 -0
- data/docs/search/GeneralO.html +20 -0
- data/docs/search/GeneralP.html +20 -0
- data/docs/search/GeneralR.html +20 -0
- data/docs/search/GeneralS.html +20 -0
- data/docs/search/GeneralSymbols.html +20 -0
- data/docs/search/GeneralT.html +20 -0
- data/docs/search/GeneralU.html +20 -0
- data/docs/search/GeneralV.html +20 -0
- data/docs/search/GeneralX.html +20 -0
- data/docs/search/NoResults.html +15 -0
- data/docs/search/VariablesC.html +20 -0
- data/docs/search/VariablesD.html +20 -0
- data/docs/search/VariablesH.html +20 -0
- data/docs/search/VariablesI.html +20 -0
- data/docs/search/VariablesJ.html +20 -0
- data/docs/search/VariablesL.html +20 -0
- data/docs/search/VariablesP.html +20 -0
- data/docs/search/VariablesS.html +20 -0
- data/docs/search/VariablesT.html +20 -0
- data/docs/search/VariablesU.html +20 -0
- data/docs/search/VariablesV.html +20 -0
- data/docs/styles/1.css +828 -0
- data/docs/styles/2.css +36 -0
- data/docs/styles/main.css +2 -0
- data/lib/jstree-rails/version.rb +1 -1
- metadata +97 -1
@@ -0,0 +1,40 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
|
3
|
+
<html><head><title>jstree.rules.js - jstree</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/prettify.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
|
4
|
+
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
|
5
|
+
|
6
|
+
<!-- Generated by Natural Docs, version 1.5 -->
|
7
|
+
<!-- http://www.naturaldocs.org -->
|
8
|
+
|
9
|
+
<!-- saved from url=(0026)http://www.naturaldocs.org -->
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="jstree.rules.js"></a>jstree.<wbr>rules.js</h1><div class=CBody><p>Sorts items alphabetically (or using any other function)</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#jstree.rules.js" >jstree.<wbr>rules.js</a></td><td class=SDescription>Sorts items alphabetically (or using any other function)</td></tr><tr class="SGroup"><td class=SEntry><a href="#jstree_rules_plugin" >jstree rules plugin</a></td><td class=SDescription></td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
|
15
|
+
|
16
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="jstree_rules_plugin"></a>jstree rules plugin</h3></div></div>
|
17
|
+
|
18
|
+
</div><!--Content-->
|
19
|
+
|
20
|
+
|
21
|
+
<div id=Footer>Copyright © 2010 Ivan Bozhanov · Updated June 7th, 2012 · <a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
|
22
|
+
|
23
|
+
|
24
|
+
<div id=Menu><div class=MTitle>jstree<div class=MSubTitle>jquery treeview plugin</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Core</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="jstree-js.html">jstree.js</a></div></div><div class=MEntry><div class=MFile><a href="vakata-js.html">vakata.js</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Plugins</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="jstree-html-js.html">jstree.<wbr>html.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-json-js.html">jstree.<wbr>json.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-themes-js.html">jstree.<wbr>themes.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-ui-js.html">jstree.<wbr>ui.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-state-js.html">jstree.<wbr>state.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-contextmenu-js.html">jstree.<wbr>contextmenu.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-hotkeys-js.html">jstree.<wbr>hotkeys.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-sort-js.html">jstree.<wbr>sort.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-dnd-js.html">jstree.<wbr>dnd.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-unique-js.html">jstree.<wbr>unique.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-checkbox-js.html">jstree.<wbr>checkbox.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-xml-js.html">jstree.<wbr>xml.js</a></div></div><div class=MEntry><div class=MFile id=MSelected>jstree.<wbr>rules.js</div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Index</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MIndex><a href="../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Events.html">Events</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Variables.html">Variables</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Classes.html">Classes</a></div></div></div></div></div><script type="text/javascript"><!--
|
25
|
+
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
|
26
|
+
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Events">Events</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div></div><!--Menu-->
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
<!--START_ND_TOOLTIPS-->
|
31
|
+
<!--END_ND_TOOLTIPS-->
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
|
37
|
+
|
38
|
+
|
39
|
+
<script language=JavaScript><!--
|
40
|
+
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
|
3
|
+
<html><head><title>jstree.sort.js - jstree</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/prettify.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
|
4
|
+
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
|
5
|
+
|
6
|
+
<!-- Generated by Natural Docs, version 1.5 -->
|
7
|
+
<!-- http://www.naturaldocs.org -->
|
8
|
+
|
9
|
+
<!-- saved from url=(0026)http://www.naturaldocs.org -->
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="jstree.sort.js"></a>jstree.<wbr>sort.js</h1><div class=CBody><p>Sorts items alphabetically (or using any other function)</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#jstree.sort.js" >jstree.<wbr>sort.js</a></td><td class=SDescription>Sorts items alphabetically (or using any other function)</td></tr><tr class="SGroup"><td class=SEntry><a href="#jstree_sort_plugin" >jstree sort plugin</a></td><td class=SDescription></td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
|
15
|
+
|
16
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="jstree_sort_plugin"></a>jstree sort plugin</h3></div></div>
|
17
|
+
|
18
|
+
</div><!--Content-->
|
19
|
+
|
20
|
+
|
21
|
+
<div id=Footer>Copyright © 2010 Ivan Bozhanov · Updated June 7th, 2012 · <a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
|
22
|
+
|
23
|
+
|
24
|
+
<div id=Menu><div class=MTitle>jstree<div class=MSubTitle>jquery treeview plugin</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Core</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="jstree-js.html">jstree.js</a></div></div><div class=MEntry><div class=MFile><a href="vakata-js.html">vakata.js</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Plugins</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="jstree-html-js.html">jstree.<wbr>html.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-json-js.html">jstree.<wbr>json.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-themes-js.html">jstree.<wbr>themes.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-ui-js.html">jstree.<wbr>ui.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-state-js.html">jstree.<wbr>state.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-contextmenu-js.html">jstree.<wbr>contextmenu.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-hotkeys-js.html">jstree.<wbr>hotkeys.js</a></div></div><div class=MEntry><div class=MFile id=MSelected>jstree.<wbr>sort.js</div></div><div class=MEntry><div class=MFile><a href="jstree-dnd-js.html">jstree.<wbr>dnd.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-unique-js.html">jstree.<wbr>unique.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-checkbox-js.html">jstree.<wbr>checkbox.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-xml-js.html">jstree.<wbr>xml.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-rules-js.html">jstree.<wbr>rules.js</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Index</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MIndex><a href="../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Events.html">Events</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Variables.html">Variables</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Classes.html">Classes</a></div></div></div></div></div><script type="text/javascript"><!--
|
25
|
+
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
|
26
|
+
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Events">Events</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div></div><!--Menu-->
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
<!--START_ND_TOOLTIPS-->
|
31
|
+
<!--END_ND_TOOLTIPS-->
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
|
37
|
+
|
38
|
+
|
39
|
+
<script language=JavaScript><!--
|
40
|
+
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
|
3
|
+
<html><head><title>jstree.state.js - jstree</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/prettify.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
|
4
|
+
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
|
5
|
+
|
6
|
+
<!-- Generated by Natural Docs, version 1.5 -->
|
7
|
+
<!-- http://www.naturaldocs.org -->
|
8
|
+
|
9
|
+
<!-- saved from url=(0026)http://www.naturaldocs.org -->
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="jstree.state.js"></a>jstree.<wbr>state.js</h1><div class=CBody><p>This plugin enables state saving between reloads.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#jstree.state.js" >jstree.<wbr>state.js</a></td><td class=SDescription>This plugin enables state saving between reloads.</td></tr><tr class="SGroup"><td class=SEntry><a href="#jstree_state_plugin" >jstree state plugin</a></td><td class=SDescription></td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
|
15
|
+
|
16
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="jstree_state_plugin"></a>jstree state plugin</h3></div></div>
|
17
|
+
|
18
|
+
</div><!--Content-->
|
19
|
+
|
20
|
+
|
21
|
+
<div id=Footer>Copyright © 2010 Ivan Bozhanov · Updated June 7th, 2012 · <a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
|
22
|
+
|
23
|
+
|
24
|
+
<div id=Menu><div class=MTitle>jstree<div class=MSubTitle>jquery treeview plugin</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Core</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="jstree-js.html">jstree.js</a></div></div><div class=MEntry><div class=MFile><a href="vakata-js.html">vakata.js</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Plugins</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="jstree-html-js.html">jstree.<wbr>html.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-json-js.html">jstree.<wbr>json.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-themes-js.html">jstree.<wbr>themes.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-ui-js.html">jstree.<wbr>ui.js</a></div></div><div class=MEntry><div class=MFile id=MSelected>jstree.<wbr>state.js</div></div><div class=MEntry><div class=MFile><a href="jstree-contextmenu-js.html">jstree.<wbr>contextmenu.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-hotkeys-js.html">jstree.<wbr>hotkeys.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-sort-js.html">jstree.<wbr>sort.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-dnd-js.html">jstree.<wbr>dnd.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-unique-js.html">jstree.<wbr>unique.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-checkbox-js.html">jstree.<wbr>checkbox.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-xml-js.html">jstree.<wbr>xml.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-rules-js.html">jstree.<wbr>rules.js</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Index</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MIndex><a href="../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Events.html">Events</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Variables.html">Variables</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Classes.html">Classes</a></div></div></div></div></div><script type="text/javascript"><!--
|
25
|
+
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
|
26
|
+
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Events">Events</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div></div><!--Menu-->
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
<!--START_ND_TOOLTIPS-->
|
31
|
+
<!--END_ND_TOOLTIPS-->
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
|
37
|
+
|
38
|
+
|
39
|
+
<script language=JavaScript><!--
|
40
|
+
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|
@@ -0,0 +1,62 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
|
3
|
+
<html><head><title>jstree.themes.js - jstree</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/prettify.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
|
4
|
+
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
|
5
|
+
|
6
|
+
<!-- Generated by Natural Docs, version 1.5 -->
|
7
|
+
<!-- http://www.naturaldocs.org -->
|
8
|
+
|
9
|
+
<!-- saved from url=(0026)http://www.naturaldocs.org -->
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="jstree.themes.js"></a>jstree.<wbr>themes.js</h1><div class=CBody><p>Controls the looks of jstree, without this plugin you will get a functional tree, but it will look just like an ordinary UL list</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#jstree.themes.js" >jstree.<wbr>themes.js</a></td><td class=SDescription>Controls the looks of jstree, without this plugin you will get a functional tree, but it will look just like an ordinary UL list</td></tr><tr class="SGroup"><td class=SEntry><a href="#$.jstree" >$.jstree.</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#$.jstree.THEMES_DIR" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">$.jstree.<wbr>THEMES_DIR</a></td><td class=SDescription>The location of all themes, this is used when setting a theme without supplying an URL (only by name). </td></tr><tr class="SClass"><td class=SEntry><a href="#jstree" >jstree</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#jstree.THEMES_options" >THEMES options</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#jstree.config.themes.theme" >config.<wbr>themes.<wbr>theme</a></td><td class=SDescription><b>string</b> the name of the theme you want to use. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#jstree.config.themes.url" >config.<wbr>themes.url</a></td><td class=SDescription><b>mixed</b> the URL of the stylesheet of the theme you want to use. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#jstree.config.themes.dots" >config.<wbr>themes.dots</a></td><td class=SDescription><b>boolean</b> whether to show dots or not. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#jstree.config.themes.icons" >config.<wbr>themes.<wbr>icons</a></td><td class=SDescription><b>boolean</b> whether to show icons or not. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#jstree.THEMES_functions" >THEMES functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jstree.set_theme" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">set_theme</a></td><td class=SDescription>Sets the tree theme. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
|
15
|
+
|
16
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="$.jstree"></a>$.jstree.</h3></div></div>
|
17
|
+
|
18
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.jstree.THEMES_DIR"></a>$.jstree.<wbr>THEMES_DIR</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>$.jstree.THEMES_DIR</td></tr></table></blockquote><p>The location of all themes, this is used when setting a theme without supplying an URL (only by name). Default is <u>false</u>. If left as <u>false</u> the path will be autodetected when the DOM is ready. The location of <u>jstree.js</u> is used for the autodetection. Normally you won’t need to modify this (provided you leave the <u>themes</u> folder in the same folder as <u>jquery.jstree.js</u> and do not rename the file). If you decide to move the folder or rename the file, but still want to load themes by name, simply set this to the new location of the <u>themes</u> folder.</p><blockquote><pre class="prettyprint"><script type="text/javascript" src="jstree.js"></script>
|
19
|
+
<script type="text/javascript">$.jstree.THEMES_DIR = "some/path/with-a-trailing-slash/";</script></pre></blockquote></div></div></div>
|
20
|
+
|
21
|
+
<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="jstree"></a>jstree</h2><div class=CBody><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#jstree.THEMES_options" >THEMES options</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#jstree.config.themes.theme" >config.<wbr>themes.<wbr>theme</a></td><td class=SDescription><b>string</b> the name of the theme you want to use. </td></tr><tr class="SVariable SIndent1"><td class=SEntry><a href="#jstree.config.themes.url" >config.<wbr>themes.url</a></td><td class=SDescription><b>mixed</b> the URL of the stylesheet of the theme you want to use. </td></tr><tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#jstree.config.themes.dots" >config.<wbr>themes.dots</a></td><td class=SDescription><b>boolean</b> whether to show dots or not. </td></tr><tr class="SVariable SIndent1"><td class=SEntry><a href="#jstree.config.themes.icons" >config.<wbr>themes.<wbr>icons</a></td><td class=SDescription><b>boolean</b> whether to show icons or not. </td></tr><tr class="SGroup"><td class=SEntry><a href="#jstree.THEMES_functions" >THEMES functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#jstree.set_theme" id=link3 onMouseOver="ShowTip(event, 'tt2', 'link3')" onMouseOut="HideTip('tt2')">set_theme</a></td><td class=SDescription>Sets the tree theme. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
|
22
|
+
|
23
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="jstree.THEMES_options"></a>THEMES options</h3></div></div>
|
24
|
+
|
25
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="jstree.config.themes.theme"></a>config.<wbr>themes.<wbr>theme</h3><div class=CBody><p><b>string</b> the name of the theme you want to use. Default is <u>default</u>.</p></div></div></div>
|
26
|
+
|
27
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="jstree.config.themes.url"></a>config.<wbr>themes.url</h3><div class=CBody><p><b>mixed</b> the URL of the stylesheet of the theme you want to use. Default is <u>false</u>. If left as <u>false</u> the location will be autodetected using <a href="#$.jstree.THEMES_DIR" class=LVariable id=link4 onMouseOver="ShowTip(event, 'tt1', 'link4')" onMouseOut="HideTip('tt1')">$.jstree.THEMES_DIR</a>.</p></div></div></div>
|
28
|
+
|
29
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="jstree.config.themes.dots"></a>config.<wbr>themes.dots</h3><div class=CBody><p><b>boolean</b> whether to show dots or not. Default is <u>true</u>. The chosen theme should support this option.</p></div></div></div>
|
30
|
+
|
31
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="jstree.config.themes.icons"></a>config.<wbr>themes.<wbr>icons</h3><div class=CBody><p><b>boolean</b> whether to show icons or not. Default is <u>true</u>.</p></div></div></div>
|
32
|
+
|
33
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="jstree.THEMES_functions"></a>THEMES functions</h3></div></div>
|
34
|
+
|
35
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="jstree.set_theme"></a>set_theme</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>set_theme : function (</td><td class=PParameter nowrap>theme_name,</td></tr><tr><td></td><td class=PParameter nowrap>theme_url</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the tree theme. This function is automatically called at construction with the settings specified in <a href="#jstree.config.themes.theme" class=LVariable id=link5 onMouseOver="ShowTip(event, 'tt3', 'link5')" onMouseOut="HideTip('tt3')">config.themes.theme</a> and <config.themes.theme.url>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>theme_name</td><td class=CDLDescription>the name of the theme to apply</td></tr><tr><td class=CDLEntry>theme_url</td><td class=CDLDescription>the URL of the stylesheet - leave this blank for autodetect</td></tr></table><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">// Set the theme and autodetect the location
|
36
|
+
$("#div1").jstree("set_theme","classic");
|
37
|
+
// A custom theme. Please note that if you place your own theme in the _themes_ folder ot will be autodetected too.
|
38
|
+
$("#div2").jstree("set_theme","custom-theme","/some/path/theme.css");</pre></blockquote></div></div></div>
|
39
|
+
|
40
|
+
</div><!--Content-->
|
41
|
+
|
42
|
+
|
43
|
+
<div id=Footer>Copyright © 2010 Ivan Bozhanov · Updated June 7th, 2012 · <a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
|
44
|
+
|
45
|
+
|
46
|
+
<div id=Menu><div class=MTitle>jstree<div class=MSubTitle>jquery treeview plugin</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Core</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="jstree-js.html">jstree.js</a></div></div><div class=MEntry><div class=MFile><a href="vakata-js.html">vakata.js</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Plugins</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="jstree-html-js.html">jstree.<wbr>html.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-json-js.html">jstree.<wbr>json.js</a></div></div><div class=MEntry><div class=MFile id=MSelected>jstree.<wbr>themes.js</div></div><div class=MEntry><div class=MFile><a href="jstree-ui-js.html">jstree.<wbr>ui.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-state-js.html">jstree.<wbr>state.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-contextmenu-js.html">jstree.<wbr>contextmenu.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-hotkeys-js.html">jstree.<wbr>hotkeys.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-sort-js.html">jstree.<wbr>sort.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-dnd-js.html">jstree.<wbr>dnd.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-unique-js.html">jstree.<wbr>unique.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-checkbox-js.html">jstree.<wbr>checkbox.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-xml-js.html">jstree.<wbr>xml.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-rules-js.html">jstree.<wbr>rules.js</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Index</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MIndex><a href="../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Events.html">Events</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Variables.html">Variables</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Classes.html">Classes</a></div></div></div></div></div><script type="text/javascript"><!--
|
47
|
+
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
|
48
|
+
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Events">Events</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div></div><!--Menu-->
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
<!--START_ND_TOOLTIPS-->
|
53
|
+
<div class=CToolTip id="tt1"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>$.jstree.THEMES_DIR</td></tr></table></blockquote>The location of all themes, this is used when setting a theme without supplying an URL (only by name). </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>set_theme : function (</td><td class=PParameter nowrap>theme_name,</td></tr><tr><td></td><td class=PParameter nowrap>theme_url</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the tree theme. </div></div><div class=CToolTip id="tt3"><div class=CVariable><b>string</b> the name of the theme you want to use. </div></div><!--END_ND_TOOLTIPS-->
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
|
59
|
+
|
60
|
+
|
61
|
+
<script language=JavaScript><!--
|
62
|
+
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
|
3
|
+
<html><head><title>jstree.ui.js - jstree</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/prettify.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
|
4
|
+
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
|
5
|
+
|
6
|
+
<!-- Generated by Natural Docs, version 1.5 -->
|
7
|
+
<!-- http://www.naturaldocs.org -->
|
8
|
+
|
9
|
+
<!-- saved from url=(0026)http://www.naturaldocs.org -->
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="jstree.ui.js"></a>jstree.<wbr>ui.js</h1><div class=CBody><p>This plugin enables selecting, deselecting and hovering tree items.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#jstree.ui.js" >jstree.<wbr>ui.js</a></td><td class=SDescription>This plugin enables selecting, deselecting and hovering tree items.</td></tr><tr class="SGroup"><td class=SEntry><a href="#jstree_UI_plugin" >jstree UI plugin</a></td><td class=SDescription></td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
|
15
|
+
|
16
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="jstree_UI_plugin"></a>jstree UI plugin</h3></div></div>
|
17
|
+
|
18
|
+
</div><!--Content-->
|
19
|
+
|
20
|
+
|
21
|
+
<div id=Footer>Copyright © 2010 Ivan Bozhanov · Updated June 7th, 2012 · <a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
|
22
|
+
|
23
|
+
|
24
|
+
<div id=Menu><div class=MTitle>jstree<div class=MSubTitle>jquery treeview plugin</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Core</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="jstree-js.html">jstree.js</a></div></div><div class=MEntry><div class=MFile><a href="vakata-js.html">vakata.js</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Plugins</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="jstree-html-js.html">jstree.<wbr>html.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-json-js.html">jstree.<wbr>json.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-themes-js.html">jstree.<wbr>themes.js</a></div></div><div class=MEntry><div class=MFile id=MSelected>jstree.<wbr>ui.js</div></div><div class=MEntry><div class=MFile><a href="jstree-state-js.html">jstree.<wbr>state.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-contextmenu-js.html">jstree.<wbr>contextmenu.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-hotkeys-js.html">jstree.<wbr>hotkeys.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-sort-js.html">jstree.<wbr>sort.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-dnd-js.html">jstree.<wbr>dnd.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-unique-js.html">jstree.<wbr>unique.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-checkbox-js.html">jstree.<wbr>checkbox.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-xml-js.html">jstree.<wbr>xml.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-rules-js.html">jstree.<wbr>rules.js</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Index</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MIndex><a href="../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Events.html">Events</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Variables.html">Variables</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Classes.html">Classes</a></div></div></div></div></div><script type="text/javascript"><!--
|
25
|
+
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
|
26
|
+
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Events">Events</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div></div><!--Menu-->
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
<!--START_ND_TOOLTIPS-->
|
31
|
+
<!--END_ND_TOOLTIPS-->
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
|
37
|
+
|
38
|
+
|
39
|
+
<script language=JavaScript><!--
|
40
|
+
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
|
3
|
+
<html><head><title>jstree.unique.js - jstree</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/prettify.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
|
4
|
+
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
|
5
|
+
|
6
|
+
<!-- Generated by Natural Docs, version 1.5 -->
|
7
|
+
<!-- http://www.naturaldocs.org -->
|
8
|
+
|
9
|
+
<!-- saved from url=(0026)http://www.naturaldocs.org -->
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="jstree.unique.js"></a>jstree.<wbr>unique.js</h1><div class=CBody><p>Does not allow the same name amongst siblings (still a bit experimental).</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#jstree.unique.js" >jstree.<wbr>unique.js</a></td><td class=SDescription>Does not allow the same name amongst siblings (still a bit experimental).</td></tr><tr class="SGroup"><td class=SEntry><a href="#jstree_drag'n'drop_plugin" >jstree drag’n’drop plugin</a></td><td class=SDescription></td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
|
15
|
+
|
16
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="jstree_drag'n'drop_plugin"></a>jstree drag’n’drop plugin</h3></div></div>
|
17
|
+
|
18
|
+
</div><!--Content-->
|
19
|
+
|
20
|
+
|
21
|
+
<div id=Footer>Copyright © 2010 Ivan Bozhanov · Updated June 7th, 2012 · <a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
|
22
|
+
|
23
|
+
|
24
|
+
<div id=Menu><div class=MTitle>jstree<div class=MSubTitle>jquery treeview plugin</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Core</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="jstree-js.html">jstree.js</a></div></div><div class=MEntry><div class=MFile><a href="vakata-js.html">vakata.js</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Plugins</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="jstree-html-js.html">jstree.<wbr>html.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-json-js.html">jstree.<wbr>json.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-themes-js.html">jstree.<wbr>themes.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-ui-js.html">jstree.<wbr>ui.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-state-js.html">jstree.<wbr>state.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-contextmenu-js.html">jstree.<wbr>contextmenu.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-hotkeys-js.html">jstree.<wbr>hotkeys.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-sort-js.html">jstree.<wbr>sort.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-dnd-js.html">jstree.<wbr>dnd.js</a></div></div><div class=MEntry><div class=MFile id=MSelected>jstree.<wbr>unique.js</div></div><div class=MEntry><div class=MFile><a href="jstree-checkbox-js.html">jstree.<wbr>checkbox.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-xml-js.html">jstree.<wbr>xml.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-rules-js.html">jstree.<wbr>rules.js</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Index</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MIndex><a href="../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Events.html">Events</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Variables.html">Variables</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Classes.html">Classes</a></div></div></div></div></div><script type="text/javascript"><!--
|
25
|
+
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
|
26
|
+
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Events">Events</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div></div><!--Menu-->
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
<!--START_ND_TOOLTIPS-->
|
31
|
+
<!--END_ND_TOOLTIPS-->
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
|
37
|
+
|
38
|
+
|
39
|
+
<script language=JavaScript><!--
|
40
|
+
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
|
3
|
+
<html><head><title>jstree.xml.js - jstree</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/prettify.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
|
4
|
+
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
|
5
|
+
|
6
|
+
<!-- Generated by Natural Docs, version 1.5 -->
|
7
|
+
<!-- http://www.naturaldocs.org -->
|
8
|
+
|
9
|
+
<!-- saved from url=(0026)http://www.naturaldocs.org -->
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="jstree.xml.js"></a>jstree.<wbr>xml.js</h1><div class=CBody><p>This plugin makes it possible for jstree to use XML data sources.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#jstree.xml.js" >jstree.<wbr>xml.js</a></td><td class=SDescription>This plugin makes it possible for jstree to use XML data sources.</td></tr><tr class="SGroup"><td class=SEntry><a href="#jstree_xml_plugin" >jstree xml plugin</a></td><td class=SDescription></td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
|
15
|
+
|
16
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="jstree_xml_plugin"></a>jstree xml plugin</h3></div></div>
|
17
|
+
|
18
|
+
</div><!--Content-->
|
19
|
+
|
20
|
+
|
21
|
+
<div id=Footer>Copyright © 2010 Ivan Bozhanov · Updated June 7th, 2012 · <a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
|
22
|
+
|
23
|
+
|
24
|
+
<div id=Menu><div class=MTitle>jstree<div class=MSubTitle>jquery treeview plugin</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Core</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="jstree-js.html">jstree.js</a></div></div><div class=MEntry><div class=MFile><a href="vakata-js.html">vakata.js</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Plugins</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="jstree-html-js.html">jstree.<wbr>html.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-json-js.html">jstree.<wbr>json.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-themes-js.html">jstree.<wbr>themes.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-ui-js.html">jstree.<wbr>ui.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-state-js.html">jstree.<wbr>state.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-contextmenu-js.html">jstree.<wbr>contextmenu.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-hotkeys-js.html">jstree.<wbr>hotkeys.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-sort-js.html">jstree.<wbr>sort.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-dnd-js.html">jstree.<wbr>dnd.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-unique-js.html">jstree.<wbr>unique.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-checkbox-js.html">jstree.<wbr>checkbox.js</a></div></div><div class=MEntry><div class=MFile id=MSelected>jstree.<wbr>xml.js</div></div><div class=MEntry><div class=MFile><a href="jstree-rules-js.html">jstree.<wbr>rules.js</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Index</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MIndex><a href="../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Events.html">Events</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Variables.html">Variables</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Classes.html">Classes</a></div></div></div></div></div><script type="text/javascript"><!--
|
25
|
+
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
|
26
|
+
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Events">Events</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div></div><!--Menu-->
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
<!--START_ND_TOOLTIPS-->
|
31
|
+
<!--END_ND_TOOLTIPS-->
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
|
37
|
+
|
38
|
+
|
39
|
+
<script language=JavaScript><!--
|
40
|
+
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|
@@ -0,0 +1,260 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
|
3
|
+
<html><head><title>Helper functions - jstree</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/prettify.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
|
4
|
+
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
|
5
|
+
|
6
|
+
<!-- Generated by Natural Docs, version 1.5 -->
|
7
|
+
<!-- http://www.naturaldocs.org -->
|
8
|
+
|
9
|
+
<!-- saved from url=(0026)http://www.naturaldocs.org -->
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="Helper_functions"></a>Helper functions</h1><div class=CBody><p>This file includes some functions that enable CSS manipulations, contextmenus, XSLT transformations and drag’n’drop. All of those work independently of jstree.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#Helper_functions" >Helper functions</a></td><td class=SDescription>This file includes some functions that enable CSS manipulations, contextmenus, XSLT transformations and drag’n’drop. </td></tr><tr class="SVariable SMarked"><td class=SEntry><a href="#$.vakata" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">$.vakata</a></td><td class=SDescription><b>object</b> Holds all helper objects.</td></tr><tr class="SGroup"><td class=SEntry><a href="#Miscellaneous" >Miscellaneous</a></td><td class=SDescription>Various small snippets.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$().vakata_reverse" >$().vakata_reverse</a></td><td class=SDescription>Makes it possible to apply the standard array reverse function to a jQuery collection.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.array_remove" >$.vakata.<wbr>array_remove</a></td><td class=SDescription>Makes it possible to remove an item (or a group of items) form an array. </td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.array_unique" >$.vakata.<wbr>array_unique</a></td><td class=SDescription>Returns only the unique items from an array.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.attributes" >$.vakata.<wbr>attributes</a></td><td class=SDescription>Collects all attributes from a DOM node.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.get_scrollbar_width" >$.vakata.<wbr>get_scrollbar_width</a></td><td class=SDescription>Gets the width of the scrollbar</td></tr><tr class="SGroup"><td class=SEntry><a href="#CSS" >CSS</a></td><td class=SDescription>Functions needed to manipulate stylesheets (add, remove, change)</td></tr><tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.css" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">$.vakata.css</a></td><td class=SDescription><b>object</b> holds all CSS related functions</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.css.get_css" >$.vakata.<wbr>css.<wbr>get_css</a></td><td class=SDescription>Retrieves or deletes a specific rule.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.css.add_css" >$.vakata.<wbr>css.<wbr>add_css</a></td><td class=SDescription>Adds a rule.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.css.remove_css" >$.vakata.<wbr>css.<wbr>remove_css</a></td><td class=SDescription>Removes a rule, this functions is a shortcut to <a href="#$.vakata.css.get_css" class=LFunction id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">$.vakata.css.get_css</a> with the delete flag set to true.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.css.add_sheet" >$.vakata.<wbr>css.<wbr>add_sheet</a></td><td class=SDescription>Adds a whole stylesheet or appends to an existing stylesheet.</td></tr><tr class="SGroup"><td class=SEntry><a href="#Drag'n'drop" >Drag’n’drop</a></td><td class=SDescription>Functions needed to drag’n’drop elements</td></tr><tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.dnd" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">$.vakata.dnd</a></td><td class=SDescription><b>object</b> holds all DND related functions</td></tr><tr class="SVariable SIndent1"><td class=SEntry><a href="#$.vakata.dnd.settings" >$.vakata.<wbr>dnd.<wbr>settings</a></td><td class=SDescription><b>object</b> holds the global settings object for DND. </td></tr><tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.dnd.settings.scroll_speed" >$.vakata.<wbr>dnd.<wbr>settings.<wbr>scroll_speed</a></td><td class=SDescription><b>integer</b> how fast (pixel count for each step) should a scrollable parent scroll when dragging near the edge. </td></tr><tr class="SVariable SIndent1"><td class=SEntry><a href="#$.vakata.dnd.settings.scroll_proximity" >$.vakata.<wbr>dnd.<wbr>settings.<wbr>scroll_proximity</a></td><td class=SDescription><b>integer</b> number of pixels from the edge of a scrollable parent below which the parent will start scrolling. </td></tr><tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.dnd.settings.helper_left" >$.vakata.<wbr>dnd.<wbr>settings.<wbr>helper_left</a></td><td class=SDescription><b>integer</b> number of pixels left of the cursor to move the drag-helper to. </td></tr><tr class="SVariable SIndent1"><td class=SEntry><a href="#$.vakata.dnd.settings.helper_top" >$.vakata.<wbr>dnd.<wbr>settings.<wbr>helper_top</a></td><td class=SDescription><b>integer</b> number of pixels below the cursor to move the drag-helper to. </td></tr><tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.dnd.settings.threshold" >$.vakata.<wbr>dnd.<wbr>settings.<wbr>threshold</a></td><td class=SDescription><b>integer</b> amount of pixels required to move before the drag is started. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.dnd._trigger" >$.vakata.<wbr>dnd.<wbr>_trigger</a></td><td class=SDescription>Used internally to trigger all necessary events.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.dnd._get" >$.vakata.<wbr>dnd._get</a></td><td class=SDescription>Used internally to get all items for the drag event. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.dnd._clean" >$.vakata.<wbr>dnd.<wbr>_clean</a></td><td class=SDescription>Used internally to cleanup after a drop, so that all variables are nulled and ready for the next drag.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.dnd._scroll" >$.vakata.<wbr>dnd.<wbr>_scroll</a></td><td class=SDescription>Used internally to scroll hovered elements.</td></tr><tr class="SEvent SIndent1"><td class=SEntry><a href="#dnd_scroll" >dnd_scroll</a></td><td class=SDescription>Fires when a container is scrolled due to dragging near its edge. </td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.dnd.start" >$.vakata.<wbr>dnd.<wbr>start</a></td><td class=SDescription>Use this function to start a drag (usually with the mousedown event)</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.dnd.drag" >$.vakata.<wbr>dnd.drag</a></td><td class=SDescription>Used internally to process the mousemove event after <a href="#$.vakata.dnd.start" class=LFunction id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">$.vakata.dnd.start</a> is called.</td></tr><tr class="SEvent SIndent1 SMarked"><td class=SEntry><a href="#dnd_start" >dnd_start</a></td><td class=SDescription>Marks the start of the drag. </td></tr><tr class="SEvent SIndent1"><td class=SEntry><a href="#dnd_move" >dnd_move</a></td><td class=SDescription>Triggered multiple times while dragging. </td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.dnd.stop" >$.vakata.<wbr>dnd.stop</a></td><td class=SDescription>Used internally to process the mouseup event (drop) after <a href="#$.vakata.dnd.start" class=LFunction id=link6 onMouseOver="ShowTip(event, 'tt5', 'link6')" onMouseOut="HideTip('tt5')">$.vakata.dnd.start</a> is called.</td></tr><tr class="SEvent SIndent1"><td class=SEntry><a href="#dnd_stop" >dnd_stop</a></td><td class=SDescription>Marks the end of the drag. </td></tr><tr class="SGroup"><td class=SEntry><a href="#XSLT" >XSLT</a></td><td class=SDescription>A function used to do XSLT transformations.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.xslt" id=link7 onMouseOver="ShowTip(event, 'tt6', 'link7')" onMouseOut="HideTip('tt6')">$.vakata.xslt</a></td><td class=SDescription>This functions transforms a XML string using a XSL string. </td></tr><tr class="SGroup"><td class=SEntry><a href="#Hotkeys" >Hotkeys</a></td><td class=SDescription>Copy of the John Resig’s fork of <a href="http://github.com/tzuryby/hotkeys" class=LURL target=_top>http://github.com/tzuryby/hotkeys</a> for consistency</td></tr><tr class="SGroup"><td class=SEntry><a href="#Context_menu" >Context menu</a></td><td class=SDescription>Functions needed to show a custom context menu.</td></tr><tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.context" id=link8 onMouseOver="ShowTip(event, 'tt7', 'link8')" onMouseOut="HideTip('tt7')">$.vakata.<wbr>context</a></td><td class=SDescription><b>object</b> holds all context menu related functions and variables.</td></tr><tr class="SVariable SIndent1"><td class=SEntry><a href="#$.vakata.context.settings" >$.vakata.<wbr>context.<wbr>settings</a></td><td class=SDescription><b>object</b> holds the global settings object for context menus. </td></tr><tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.context.settings.hide_onmouseleave" >$.vakata.<wbr>context.<wbr>settings.<wbr>hide_onmouseleave</a></td><td class=SDescription><b>integer</b> the amount of milliseconds to wait before hiding the menu after mouseleave. </td></tr><tr class="SVariable SIndent1"><td class=SEntry><a href="#$.vakata.context.settings.icons" >$.vakata.<wbr>context.<wbr>settings.<wbr>icons</a></td><td class=SDescription><b>boolean</b> whether to show icons or not. </td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.context._trigger" >$.vakata.<wbr>context.<wbr>_trigger</a></td><td class=SDescription>Used internally to trigger all necessary events.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.context._execute" >$.vakata.<wbr>context.<wbr>_execute</a></td><td class=SDescription>Used internally to execute the action (if any) associated with an item.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.context._parse" >$.vakata.<wbr>context.<wbr>_parse</a></td><td class=SDescription>Used internally to parse a contextmenu description object to an HTML string.</td></tr><tr class="SEvent SIndent1"><td class=SEntry><a href="#context_parse" >context_parse</a></td><td class=SDescription>Triggered when the context menu is parsed but not yet shown. </td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.context._show_submenu" >$.vakata.<wbr>context.<wbr>_show_submenu</a></td><td class=SDescription>Used internally to show a submenu</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.context.show" >$.vakata.<wbr>context.show</a></td><td class=SDescription>Shows the context menu. </td></tr><tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#context_menu_item" >context_menu_item</a></td><td class=SDescription><b>object</b> Used to construct a context menu entry, this structure will always be a part of an object.</td></tr><tr class="SEvent SIndent1"><td class=SEntry><a href="#context_show" >context_show</a></td><td class=SDescription>Triggered when the context menu is shown. </td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.context.hide" >$.vakata.<wbr>context.hide</a></td><td class=SDescription>Used internally to hide the contextmenu after a click, or on mouseleave, etc.</td></tr><tr class="SEvent SIndent1"><td class=SEntry><a href="#context_hide" >context_hide</a></td><td class=SDescription>Triggered when the context menu is hidden. </td></tr><tr class="SGroup"><td class=SEntry><a href="#JSON" >JSON</a></td><td class=SDescription>Functions needed to encode/decode JSON. </td></tr><tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.json" id=link9 onMouseOver="ShowTip(event, 'tt8', 'link9')" onMouseOut="HideTip('tt8')">$.vakata.json</a></td><td class=SDescription><b>object</b> holds all JSON related functions.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.json.encode" >$.vakata.<wbr>json.<wbr>encode</a></td><td class=SDescription>A function for encoding data in a JSON notated string.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.json.decode" >$.vakata.<wbr>json.<wbr>decode</a></td><td class=SDescription>Exists for consistency and is a simple wrapper for jQuery.parseJSON.</td></tr><tr class="SGroup"><td class=SEntry><a href="#Cookie" >Cookie</a></td><td class=SDescription>A copy of the jQuery cookie plugin.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.cookie" id=link10 onMouseOver="ShowTip(event, 'tt9', 'link10')" onMouseOut="HideTip('tt9')">$.vakata.<wbr>cookie</a></td><td class=SDescription>A function for getting and setting cookies.</td></tr><tr class="SGroup"><td class=SEntry><a href="#LocalStorage" >LocalStorage</a></td><td class=SDescription>Functions for dealing with localStorage with fallback to userData or cookies. </td></tr><tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.storage" id=link11 onMouseOver="ShowTip(event, 'tt10', 'link11')" onMouseOut="HideTip('tt10')">$.vakata.<wbr>storage</a></td><td class=SDescription><b>object</b> holds all storage related functions and properties.</td></tr><tr class="SVariable SIndent1"><td class=SEntry><a href="#$.vakata.storage.version" >$.vakata.<wbr>storage.<wbr>version</a></td><td class=SDescription><b>string</b> the version of jstorage used</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.storage.set" >$.vakata.<wbr>storage.set</a></td><td class=SDescription>Set a key to a value</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.storage.get" >$.vakata.<wbr>storage.get</a></td><td class=SDescription>Get a value by key.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.storage.del" >$.vakata.<wbr>storage.del</a></td><td class=SDescription>Remove a key.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.storage.flush" >$.vakata.<wbr>storage.<wbr>flush</a></td><td class=SDescription>Empty the storage.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.storage.storageObj" >$.vakata.<wbr>storage.<wbr>storageObj</a></td><td class=SDescription>Get a read only copy of the whole storage.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.storage.index" >$.vakata.<wbr>storage.<wbr>index</a></td><td class=SDescription>Get an array of all the set keys in the storage.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.storage.storageSize" >$.vakata.<wbr>storage.<wbr>storageSize</a></td><td class=SDescription>Get the size of all items in the storage in bytes.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.storage.currentBackend" >$.vakata.<wbr>storage.<wbr>currentBackend</a></td><td class=SDescription>Get the current backend used.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.storage.storageAvailable" >$.vakata.<wbr>storage.<wbr>storageAvailable</a></td><td class=SDescription>See if storage functionality is available.</td></tr><tr class="SGroup"><td class=SEntry><a href="#PrettyDate" >PrettyDate</a></td><td class=SDescription>Modifies time elements to a more human readable value. </td></tr><tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.pretty_date" id=link12 onMouseOver="ShowTip(event, 'tt11', 'link12')" onMouseOut="HideTip('tt11')">$.vakata.<wbr>pretty_date</a></td><td class=SDescription><b>object</b> holds all pretty-date related functions and properties.</td></tr><tr class="SVariable SIndent1"><td class=SEntry><a href="#$.vakata.pretty_date.lang" >$.vakata.<wbr>pretty_date.lang</a></td><td class=SDescription><b>object</b> the localization to use.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.pretty_date.parse" >$.vakata.<wbr>pretty_date.<wbr>parse</a></td><td class=SDescription>Parses the difference between to dates to a human readable string.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.pretty_date.init" >$.vakata.<wbr>pretty_date.init</a></td><td class=SDescription>Parses all time elements in the document and keeps reparsing them every few seconds.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$().vakata_pretty_date" id=link13 onMouseOver="ShowTip(event, 'tt12', 'link13')" onMouseOut="HideTip('tt12')">$().vakata_pretty_date</a></td><td class=SDescription>Sets the HTML of every element to the parsed difference of its <u>datetime</u> attribute and the compare parameter.</td></tr><tr class="SGroup"><td class=SEntry><a href="#Selection" >Selection</a></td><td class=SDescription>Selection related functions</td></tr><tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.selection" id=link14 onMouseOver="ShowTip(event, 'tt13', 'link14')" onMouseOut="HideTip('tt13')">$.vakata.<wbr>selection</a></td><td class=SDescription><b>object</b> holds all selection related functions and properties.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.selection.get" >$.vakata.<wbr>selection.get</a></td><td class=SDescription>Gets the current selection.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.selection.elm_get" >$.vakata.<wbr>selection.<wbr>elm_get</a></td><td class=SDescription>Gets the selection inside an input element or textarea.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.selection.elm_set" >$.vakata.<wbr>selection.<wbr>elm_set</a></td><td class=SDescription>Sets the selection inside an input element or textarea.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.selection.elm_replace" >$.vakata.<wbr>selection.<wbr>elm_replace</a></td><td class=SDescription>Replace the selection inside an input element or textarea.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.selection.elm_get_caret" >$.vakata.<wbr>selection.<wbr>elm_get_caret</a></td><td class=SDescription>Returns the caret position in the element.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata.selection.elm_set_caret" >$.vakata.<wbr>selection.<wbr>elm_set_caret</a></td><td class=SDescription>Sets the caret position in the element.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#$.vakata.selection.elm_get_caret_position" >$.vakata.<wbr>selection.<wbr>elm_get_caret_position</a></td><td class=SDescription>Returns the caret position in pixels relative to the element.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#$.vakata_highlight" >$.vakata_highlight</a></td><td class=SDescription>Hightlight words in the matched elements</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
|
15
|
+
|
16
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata"></a>$.vakata</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>(</td><td class=PTypePrefix nowrap>function </td><td class=PType nowrap>($) </td><td class=PParameter nowrap>{ $.vakata = {}; }</td><td class=PAfterParameters nowrap>)(jQuery)</td></tr></table></td></tr></table></blockquote><p><b>object</b> Holds all helper objects.</p></div></div></div>
|
17
|
+
|
18
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Miscellaneous"></a>Miscellaneous</h3><div class=CBody><p>Various small snippets.</p></div></div></div>
|
19
|
+
|
20
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$().vakata_reverse"></a>$().vakata_reverse</h3><div class=CBody><p>Makes it possible to apply the standard array reverse function to a jQuery collection.</p><h4 class=CHeading>Input</h4><blockquote><pre class="prettyprint"><div>1</div><div>2</div><div>3</div>
|
21
|
+
$("div").vakata_reverse().each(function () { document.write(this.innerHTML); });</pre></blockquote><h4 class=CHeading>Output</h4><blockquote><pre class="prettyprint">321</pre></blockquote></div></div></div>
|
22
|
+
|
23
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.array_remove"></a>$.vakata.<wbr>array_remove</h3><div class=CBody><p>Makes it possible to remove an item (or a group of items) form an array. <a href="http://ejohn.org/blog/javascript-array-remove/" class=LURL target=_top>http://ejohn.org/blog/javascript-array-remove/</a></p><h4 class=CHeading>Input</h4><blockquote><pre class="prettyprint">$.vakata.array_remove(['a', 'b', 'c'], 1);</pre></blockquote><h4 class=CHeading>Output</h4><blockquote><pre class="prettyprint">['a', 'c']</pre></blockquote></div></div></div>
|
24
|
+
|
25
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.array_unique"></a>$.vakata.<wbr>array_unique</h3><div class=CBody><p>Returns only the unique items from an array.</p><h4 class=CHeading>Input</h4><blockquote><pre class="prettyprint">$.vakata.array_unique(['c','a','a','b','c','b']);</pre></blockquote><h4 class=CHeading>Output</h4><blockquote><pre class="prettyprint">['a', 'b', 'c']</pre></blockquote></div></div></div>
|
26
|
+
|
27
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.attributes"></a>$.vakata.<wbr>attributes</h3><div class=CBody><p>Collects all attributes from a DOM node.</p></div></div></div>
|
28
|
+
|
29
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.get_scrollbar_width"></a>$.vakata.<wbr>get_scrollbar_width</h3><div class=CBody><p>Gets the width of the scrollbar</p></div></div></div>
|
30
|
+
|
31
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="CSS"></a>CSS</h3><div class=CBody><p>Functions needed to manipulate stylesheets (add, remove, change)</p></div></div></div>
|
32
|
+
|
33
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata.css"></a>$.vakata.css</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>$.vakata.css</td></tr></table></blockquote><p><b>object</b> holds all CSS related functions</p></div></div></div>
|
34
|
+
|
35
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.css.get_css"></a>$.vakata.<wbr>css.<wbr>get_css</h3><div class=CBody><p>Retrieves or deletes a specific rule.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>rule_name</td><td class=CDLDescription><b>string</b> the rule to search for (any CSS rule)</td></tr><tr><td class=CDLEntry>delete_flag</td><td class=CDLDescription><b>boolean</b> whether you want to delete or simply retrieve a reference to the rule</td></tr><tr><td class=CDLEntry>sheet</td><td class=CDLDescription>the sheet to search in (do not specify this to search in all sheets)</td></tr></table><h4 class=CHeading>Returns either</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>a reference to the rule</td><td class=CDLDescription>if it was found and the delete flag was not set</td></tr><tr><td class=CDLEntry>true</td><td class=CDLDescription>if the delete flag was set and the rule was successfully removed</td></tr><tr><td class=CDLEntry>false</td><td class=CDLDescription>if the rule could not be found</td></tr></table><h4 class=CHeading>See also</h4><p><a href="#$.vakata.css.remove_css" class=LFunction id=link15 onMouseOver="ShowTip(event, 'tt14', 'link15')" onMouseOut="HideTip('tt14')">$.vakata.css.remove_css</a></p></div></div></div>
|
36
|
+
|
37
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.css.add_css"></a>$.vakata.<wbr>css.<wbr>add_css</h3><div class=CBody><p>Adds a rule.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>rule_name</td><td class=CDLDescription><b>string</b> the rule to add</td></tr><tr><td class=CDLEntry>sheet</td><td class=CDLDescription>a reference to the sheet to add to</td></tr></table><h4 class=CHeading>Returns either</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>a reference to the rule</td><td class=CDLDescription>if the rule was added</td></tr><tr><td class=CDLEntry>false</td><td class=CDLDescription>if the rule could not be added, or if such a rule already exists</td></tr></table></div></div></div>
|
38
|
+
|
39
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.css.remove_css"></a>$.vakata.<wbr>css.<wbr>remove_css</h3><div class=CBody><p>Removes a rule, this functions is a shortcut to <a href="#$.vakata.css.get_css" class=LFunction id=link16 onMouseOver="ShowTip(event, 'tt3', 'link16')" onMouseOut="HideTip('tt3')">$.vakata.css.get_css</a> with the delete flag set to true.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>rule_name</td><td class=CDLDescription><b>string</b> the rule to remove</td></tr><tr><td class=CDLEntry>sheet</td><td class=CDLDescription>the sheet to remove from (you can omit this and all sheets will be searched)</td></tr></table><h4 class=CHeading>Returns either</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>true</td><td class=CDLDescription>if rule was removed</td></tr><tr><td class=CDLEntry>false</td><td class=CDLDescription>if the rule could not be removed</td></tr></table><h4 class=CHeading>See also</h4><p><a href="#$.vakata.css.get_css" class=LFunction id=link17 onMouseOver="ShowTip(event, 'tt3', 'link17')" onMouseOut="HideTip('tt3')">$.vakata.css.get_css</a></p></div></div></div>
|
40
|
+
|
41
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.css.add_sheet"></a>$.vakata.<wbr>css.<wbr>add_sheet</h3><div class=CBody><p>Adds a whole stylesheet or appends to an existing stylesheet.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>options</td><td class=CDLDescription><b>object</b>:</td></tr><tr><td class=CDLEntry>options.url</td><td class=CDLDescription>location of the stylesheet - when this is supplied <u>options.str</u> and <u>options.title</u> should not be set and a new LINK element is always created</td></tr><tr><td class=CDLEntry>options.str</td><td class=CDLDescription>text content of the stylesheet - when this is supplied <u>options.url</u> is not used. A STYLE element is used.</td></tr><tr><td class=CDLEntry>options.title</td><td class=CDLDescription>the ID of the added stylesheet (if you pass `foo` the ID will be `foo-stylesheet`), when the stylesheet exists the content is appended and no new stylesheet is created.</td></tr></table><h4 class=CHeading>Returns</h4><p>a reference to the stylesheet</p></div></div></div>
|
42
|
+
|
43
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Drag'n'drop"></a>Drag’n’drop</h3><div class=CBody><p>Functions needed to drag’n’drop elements</p></div></div></div>
|
44
|
+
|
45
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata.dnd"></a>$.vakata.dnd</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>$.vakata.dnd</td></tr></table></blockquote><p><b>object</b> holds all DND related functions</p></div></div></div>
|
46
|
+
|
47
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata.dnd.settings"></a>$.vakata.<wbr>dnd.<wbr>settings</h3><div class=CBody><p><b>object</b> holds the global settings object for DND. You can easily modify any of the settings.</p><blockquote><pre class="prettyprint">// modification example
|
48
|
+
$.vakata.dnd.settings.threshold = 10;</pre></blockquote></div></div></div>
|
49
|
+
|
50
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata.dnd.settings.scroll_speed"></a>$.vakata.<wbr>dnd.<wbr>settings.<wbr>scroll_speed</h3><div class=CBody><p><b>integer</b> how fast (pixel count for each step) should a scrollable parent scroll when dragging near the edge. Default is <u>10</u>.</p></div></div></div>
|
51
|
+
|
52
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata.dnd.settings.scroll_proximity"></a>$.vakata.<wbr>dnd.<wbr>settings.<wbr>scroll_proximity</h3><div class=CBody><p><b>integer</b> number of pixels from the edge of a scrollable parent below which the parent will start scrolling. Default is <u>20</u>.</p></div></div></div>
|
53
|
+
|
54
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata.dnd.settings.helper_left"></a>$.vakata.<wbr>dnd.<wbr>settings.<wbr>helper_left</h3><div class=CBody><p><b>integer</b> number of pixels left of the cursor to move the drag-helper to. Default is <u>5</u>;</p></div></div></div>
|
55
|
+
|
56
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata.dnd.settings.helper_top"></a>$.vakata.<wbr>dnd.<wbr>settings.<wbr>helper_top</h3><div class=CBody><p><b>integer</b> number of pixels below the cursor to move the drag-helper to. Default is <u>10</u>.</p></div></div></div>
|
57
|
+
|
58
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata.dnd.settings.threshold"></a>$.vakata.<wbr>dnd.<wbr>settings.<wbr>threshold</h3><div class=CBody><p><b>integer</b> amount of pixels required to move before the drag is started. Default is <u>5</u>.</p></div></div></div>
|
59
|
+
|
60
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.dnd._trigger"></a>$.vakata.<wbr>dnd.<wbr>_trigger</h3><div class=CBody><p>Used internally to trigger all necessary events.</p></div></div></div>
|
61
|
+
|
62
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.dnd._get"></a>$.vakata.<wbr>dnd._get</h3><div class=CBody><p>Used internally to get all items for the drag event. Can be used by foreign code too.</p></div></div></div>
|
63
|
+
|
64
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.dnd._clean"></a>$.vakata.<wbr>dnd.<wbr>_clean</h3><div class=CBody><p>Used internally to cleanup after a drop, so that all variables are nulled and ready for the next drag.</p></div></div></div>
|
65
|
+
|
66
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.dnd._scroll"></a>$.vakata.<wbr>dnd.<wbr>_scroll</h3><div class=CBody><p>Used internally to scroll hovered elements.</p><h4 class=CHeading>Triggers</h4><p><a href="#dnd_scroll" class=LEvent id=link18 onMouseOver="ShowTip(event, 'tt15', 'link18')" onMouseOut="HideTip('tt15')">dnd_scroll</a></p></div></div></div>
|
67
|
+
|
68
|
+
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="dnd_scroll"></a>dnd_scroll</h3><div class=CBody><p>Fires when a container is scrolled due to dragging near its edge. Triggered on the document, the event is fired in the <b>vakata</b> namespace.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>data.event</td><td class=CDLDescription>the scrolled element</td></tr><tr><td class=CDLEntry>data.data</td><td class=CDLDescription>the data you supplied when calling <a href="#$.vakata.dnd.start" class=LFunction id=link19 onMouseOver="ShowTip(event, 'tt5', 'link19')" onMouseOut="HideTip('tt5')">$.vakata.dnd.start</a></td></tr><tr><td class=CDLEntry>data.element</td><td class=CDLDescription>the origin element</td></tr><tr><td class=CDLEntry>data.helper</td><td class=CDLDescription>the jquery extended drag-helper node (or false if it is not used)</td></tr></table><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">$(document).bind("dnd_start.vakata", function (e, data) {
|
69
|
+
// do something
|
70
|
+
});</pre></blockquote></div></div></div>
|
71
|
+
|
72
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.dnd.start"></a>$.vakata.<wbr>dnd.<wbr>start</h3><div class=CBody><p>Use this function to start a drag (usually with the mousedown event)</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>event</td><td class=CDLDescription><b>event</b> the event which started the drag, when used with the mousedown event text selection is prevented</td></tr><tr><td class=CDLEntry>data</td><td class=CDLDescription><b>mixed</b> some custom data you want to bind with that particular drag - you will receive this in all events</td></tr><tr><td class=CDLEntry>html</td><td class=CDLDescription><b>mixed</b> the text for the drag-helper as a <b>string</b>, if set to <u>false</u> no helper is shown</td></tr></table><h4 class=CHeading>Returns</h4><p>false</p><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">$("span").bind("mousedown", function (e) {
|
73
|
+
return $.vakata.dnd.start(e, {}, "Dragging");
|
74
|
+
});</pre></blockquote></div></div></div>
|
75
|
+
|
76
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.dnd.drag"></a>$.vakata.<wbr>dnd.drag</h3><div class=CBody><p>Used internally to process the mousemove event after <a href="#$.vakata.dnd.start" class=LFunction id=link20 onMouseOver="ShowTip(event, 'tt5', 'link20')" onMouseOut="HideTip('tt5')">$.vakata.dnd.start</a> is called.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>event</td><td class=CDLDescription><b>event</b> the mousemove event</td></tr></table><h4 class=CHeading>Triggers</h4><p><a href="#dnd_start" class=LEvent id=link21 onMouseOver="ShowTip(event, 'tt16', 'link21')" onMouseOut="HideTip('tt16')">dnd_start</a>, <a href="#dnd_move" class=LEvent id=link22 onMouseOver="ShowTip(event, 'tt17', 'link22')" onMouseOut="HideTip('tt17')">dnd_move</a></p></div></div></div>
|
77
|
+
|
78
|
+
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="dnd_start"></a>dnd_start</h3><div class=CBody><p>Marks the start of the drag. Triggered on the document after a drag is initiated using <a href="#$.vakata.dnd.start" class=LFunction id=link23 onMouseOver="ShowTip(event, 'tt5', 'link23')" onMouseOut="HideTip('tt5')">$.vakata.dnd.start</a> and the user has moved more than <a href="#$.vakata.dnd.settings.threshold" class=LVariable id=link24 onMouseOver="ShowTip(event, 'tt18', 'link24')" onMouseOut="HideTip('tt18')">$.vakata.dnd.settings.threshold</a> pixels, the event is fired in the <b>vakata</b> namespace.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>data.event</td><td class=CDLDescription>the mousemove event</td></tr><tr><td class=CDLEntry>data.data</td><td class=CDLDescription>the data you supplied when calling <a href="#$.vakata.dnd.start" class=LFunction id=link25 onMouseOver="ShowTip(event, 'tt5', 'link25')" onMouseOut="HideTip('tt5')">$.vakata.dnd.start</a></td></tr><tr><td class=CDLEntry>data.element</td><td class=CDLDescription>the origin element</td></tr><tr><td class=CDLEntry>data.helper</td><td class=CDLDescription>the jquery extended drag-helper node (or false if it is not used)</td></tr></table><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">$(document).bind("dnd_start.vakata", function (e, data) {
|
79
|
+
// do something
|
80
|
+
});</pre></blockquote></div></div></div>
|
81
|
+
|
82
|
+
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="dnd_move"></a>dnd_move</h3><div class=CBody><p>Triggered multiple times while dragging. This event is triggered on the document after the <a href="#dnd_start" class=LEvent id=link26 onMouseOver="ShowTip(event, 'tt16', 'link26')" onMouseOut="HideTip('tt16')">dnd_start</a> event when the user moves the mouse, the event is fired in the <b>vakata</b> namespace.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>data.event</td><td class=CDLDescription>the mousemove event</td></tr><tr><td class=CDLEntry>data.data</td><td class=CDLDescription>the data you supplied when calling <a href="#$.vakata.dnd.start" class=LFunction id=link27 onMouseOver="ShowTip(event, 'tt5', 'link27')" onMouseOut="HideTip('tt5')">$.vakata.dnd.start</a></td></tr><tr><td class=CDLEntry>data.element</td><td class=CDLDescription>the origin element</td></tr><tr><td class=CDLEntry>data.helper</td><td class=CDLDescription>the jquery extended drag-helper node (or false if it is not used)</td></tr></table><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">$(document).bind("dnd_move.vakata", function (e, data) {
|
83
|
+
// do something
|
84
|
+
});</pre></blockquote></div></div></div>
|
85
|
+
|
86
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.dnd.stop"></a>$.vakata.<wbr>dnd.stop</h3><div class=CBody><p>Used internally to process the mouseup event (drop) after <a href="#$.vakata.dnd.start" class=LFunction id=link28 onMouseOver="ShowTip(event, 'tt5', 'link28')" onMouseOut="HideTip('tt5')">$.vakata.dnd.start</a> is called.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>event</td><td class=CDLDescription><b>event</b> the mouseup event</td></tr></table><h4 class=CHeading>Triggers</h4><p><a href="#dnd_stop" class=LEvent id=link29 onMouseOver="ShowTip(event, 'tt19', 'link29')" onMouseOut="HideTip('tt19')">dnd_stop</a></p></div></div></div>
|
87
|
+
|
88
|
+
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="dnd_stop"></a>dnd_stop</h3><div class=CBody><p>Marks the end of the drag. This event is triggered on the document after <a href="#dnd_start" class=LEvent id=link30 onMouseOver="ShowTip(event, 'tt16', 'link30')" onMouseOut="HideTip('tt16')">dnd_start</a> (and possibly <a href="#dnd_move" class=LEvent id=link31 onMouseOver="ShowTip(event, 'tt17', 'link31')" onMouseOut="HideTip('tt17')">dnd_move</a>) when a drop (mouseup) occurs or when the drag is programatically terminated, the event is fired in the <b>vakata</b> namespace.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>data.event</td><td class=CDLDescription>the mouseup event (or <u>null</u> if stopped programatically using <$.vakata.dnd.stop>())</td></tr><tr><td class=CDLEntry>data.data</td><td class=CDLDescription>the data you supplied when calling <a href="#$.vakata.dnd.start" class=LFunction id=link32 onMouseOver="ShowTip(event, 'tt5', 'link32')" onMouseOut="HideTip('tt5')">$.vakata.dnd.start</a></td></tr><tr><td class=CDLEntry>data.element</td><td class=CDLDescription>the origin element</td></tr><tr><td class=CDLEntry>data.helper</td><td class=CDLDescription>the jquery extended drag-helper node (or false if it is not used)</td></tr></table><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">$(document).bind("dnd_stop.vakata", function (e, data) {
|
89
|
+
// do something
|
90
|
+
});</pre></blockquote></div></div></div>
|
91
|
+
|
92
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="XSLT"></a>XSLT</h3><div class=CBody><p>A function used to do XSLT transformations.</p></div></div></div>
|
93
|
+
|
94
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.xslt"></a>$.vakata.xslt</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>$.vakata.xslt = function (</td><td class=PParameter nowrap>xml,</td></tr><tr><td></td><td class=PParameter nowrap>xsl</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>This functions transforms a XML string using a XSL string. The result is passed to a callback function.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>xml</td><td class=CDLDescription><b>string</b> the source xml string</td></tr><tr><td class=CDLEntry>xsl</td><td class=CDLDescription><b>string</b> the xsl string</td></tr></table><h4 class=CHeading>Returns</h4><p>the transformed result (or <u>false</u> on failure)</p><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">// simple
|
95
|
+
$.vakata.xslt("<xml-string-here>", "<xsl-string-here>", function (res) { $("#some-container").append(res); });
|
96
|
+
// with scope
|
97
|
+
$.vakata.xslt("<xml-string-here>", "<xsl-string-here>", $.proxy(function (res) {
|
98
|
+
this.some_process(res);
|
99
|
+
}, some_object);</pre></blockquote></div></div></div>
|
100
|
+
|
101
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Hotkeys"></a>Hotkeys</h3><div class=CBody><p>Copy of the John Resig’s fork of <a href="http://github.com/tzuryby/hotkeys" class=LURL target=_top>http://github.com/tzuryby/hotkeys</a> for consistency</p></div></div></div>
|
102
|
+
|
103
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Context_menu"></a>Context menu</h3><div class=CBody><p>Functions needed to show a custom context menu.</p></div></div></div>
|
104
|
+
|
105
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata.context"></a>$.vakata.<wbr>context</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>$.vakata.context</td></tr></table></blockquote><p><b>object</b> holds all context menu related functions and variables.</p></div></div></div>
|
106
|
+
|
107
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata.context.settings"></a>$.vakata.<wbr>context.<wbr>settings</h3><div class=CBody><p><b>object</b> holds the global settings object for context menus. You can easily modify any of the settings.</p><blockquote><pre class="prettyprint">// modification example
|
108
|
+
$.vakata.context.settings.icons = false;</pre></blockquote></div></div></div>
|
109
|
+
|
110
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata.context.settings.hide_onmouseleave"></a>$.vakata.<wbr>context.<wbr>settings.<wbr>hide_onmouseleave</h3><div class=CBody><p><b>integer</b> the amount of milliseconds to wait before hiding the menu after mouseleave. If set to <u>0</u> the menu won’t hide on mouseleave. Default is <u>0</u>.</p></div></div></div>
|
111
|
+
|
112
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata.context.settings.icons"></a>$.vakata.<wbr>context.<wbr>settings.<wbr>icons</h3><div class=CBody><p><b>boolean</b> whether to show icons or not. Default is <u>true</u>.</p></div></div></div>
|
113
|
+
|
114
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.context._trigger"></a>$.vakata.<wbr>context.<wbr>_trigger</h3><div class=CBody><p>Used internally to trigger all necessary events.</p></div></div></div>
|
115
|
+
|
116
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.context._execute"></a>$.vakata.<wbr>context.<wbr>_execute</h3><div class=CBody><p>Used internally to execute the action (if any) associated with an item.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>i</td><td class=CDLDescription>the item’s internal index</td></tr></table></div></div></div>
|
117
|
+
|
118
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.context._parse"></a>$.vakata.<wbr>context.<wbr>_parse</h3><div class=CBody><p>Used internally to parse a contextmenu description object to an HTML string.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>o</td><td class=CDLDescription><b>object</b> the contextmenu description object</td></tr><tr><td class=CDLEntry>is_callback</td><td class=CDLDescription><b>boolean</b> used internally to indicate a recursive call</td></tr></table><h4 class=CHeading>Triggers</h4><p><a href="#context_parse" class=LEvent id=link33 onMouseOver="ShowTip(event, 'tt20', 'link33')" onMouseOut="HideTip('tt20')">context_parse</a></p></div></div></div>
|
119
|
+
|
120
|
+
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="context_parse"></a>context_parse</h3><div class=CBody><p>Triggered when the context menu is parsed but not yet shown. This event is triggered on the document in the <b>vakata</b> namespace.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>reference</td><td class=CDLDescription>the DOM node used when <a href="#$.vakata.context.show" class=LFunction id=link34 onMouseOver="ShowTip(event, 'tt21', 'link34')" onMouseOut="HideTip('tt21')">$.vakata.context.show</a> was called</td></tr><tr><td class=CDLEntry>element</td><td class=CDLDescription>the DOM node of the context menu (not yet populated and shown)</td></tr><tr><td class=CDLEntry>position</td><td class=CDLDescription>an object consisting of <u>x</u> and <u>y</u> keys, represinting the position of the menu (not yet shown)</td></tr></table><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">$(document).bind("context_parse.vakata", function (e, data) {
|
121
|
+
// do something
|
122
|
+
});</pre></blockquote></div></div></div>
|
123
|
+
|
124
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.context._show_submenu"></a>$.vakata.<wbr>context.<wbr>_show_submenu</h3><div class=CBody><p>Used internally to show a submenu</p></div></div></div>
|
125
|
+
|
126
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.context.show"></a>$.vakata.<wbr>context.show</h3><div class=CBody><p>Shows the context menu. Please note that at least one of <u>reference</u> or <u>position</u> should be specified.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>reference</td><td class=CDLDescription><b>jquery</b> associate the menu with a DOM element (optional)</td></tr><tr><td class=CDLEntry>position</td><td class=CDLDescription><b>object</b> should contain <u>x</u> and <u>y</u> properties, those are the coordinates to show the menu at (optional</td></tr><tr><td class=CDLEntry>data</td><td class=CDLDescription><b>object</b> the contextmenu description object. It should consist of keys, each key should be a <a href="#context_menu_item" class=LVariable id=link35 onMouseOver="ShowTip(event, 'tt22', 'link35')" onMouseOut="HideTip('tt22')">context_menu_item</a>. If not specified the function will search for $(reference).data(‘vakata_contextmenu’) and use that.</td></tr></table><h4 class=CHeading>Triggers</h4><p><a href="#context_show" class=LEvent id=link36 onMouseOver="ShowTip(event, 'tt23', 'link36')" onMouseOut="HideTip('tt23')">context_show</a></p><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">$(document).bind("contextmenu", function (e) {
|
127
|
+
e.preventDefault();
|
128
|
+
$.vakata.context.show(false, { x: e.pageX, y:e.pageY }, {
|
129
|
+
"create" : {
|
130
|
+
// only specify what you need
|
131
|
+
"separator_after" : true,
|
132
|
+
"label" : "Create",
|
133
|
+
"action" : function (data) { alert("Create"); }
|
134
|
+
},
|
135
|
+
"rename" : {
|
136
|
+
"label" : "Rename",
|
137
|
+
"icon" : "./some-icon.png",
|
138
|
+
"action" : function (data) { alert("Rename on " + data.reference); }
|
139
|
+
},
|
140
|
+
"edit" : {
|
141
|
+
"label" : "Edit",
|
142
|
+
// Clicking this won't hide the menu, the same can be achieved with:
|
143
|
+
// "action" : function () { return false; }
|
144
|
+
"submenu" : {
|
145
|
+
"copy" : { "label" : "Copy", "action" : function () { } },
|
146
|
+
"cut" : { "label" : "Cut", "action" : function () { } },
|
147
|
+
"paste" : { "label" : "Paste", "_disabled" : true, "action" : function () { } }
|
148
|
+
}
|
149
|
+
},
|
150
|
+
"delete" : {
|
151
|
+
"separator_before" : true,
|
152
|
+
"label" : "Delete",
|
153
|
+
"action" : function (data) { alert("Delete"); }
|
154
|
+
}
|
155
|
+
});
|
156
|
+
});</pre></blockquote></div></div></div>
|
157
|
+
|
158
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="context_menu_item"></a>context_menu_item</h3><div class=CBody><p><b>object</b> Used to construct a context menu entry, this structure will always be a part of an object.</p><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>separator_before</td><td class=CDLDescription><b>boolean</b> should there be a separator before the item. Default is <u>false</u>.</td></tr><tr><td class=CDLEntry>separator_after</td><td class=CDLDescription><b>boolean</b> should there be a separator after the item. Default is <u>false</u>.</td></tr><tr><td class=CDLEntry>icon</td><td class=CDLDescription><b>string</b> if supplied this string is used for an icon, if it contains <u>/</u> it is treated as file, otherwise it is applied as a class on an INS object.</td></tr><tr><td class=CDLEntry>label</td><td class=CDLDescription><b>string</b> the text for this item</td></tr><tr><td class=CDLEntry>submenu</td><td class=CDLDescription><b>object</b> if supplied this object is used to build a submenu. It should consist of keys, each of which is a <a href="#context_menu_item" class=LVariable id=link37 onMouseOver="ShowTip(event, 'tt22', 'link37')" onMouseOut="HideTip('tt22')">context_menu_item</a>.</td></tr><tr><td class=CDLEntry>_class</td><td class=CDLDescription><b>string</b> if supplied this class is applied to the LI node.</td></tr><tr><td class=CDLEntry>_disabled</td><td class=CDLDescription><b>boolean</b> is this item disabled.</td></tr><tr><td class=CDLEntry>action</td><td class=CDLDescription><b>functon</b> if supplied it will be executed when this item is clicked / activated. If not supplied or the function returns <u>false</u> the contextmenu won’t be hidden after execution. To force a context use <u>$.proxy</u>. In the function you will receive a single argument which is an object, consisting of four keys: <u>item</u> (the <a href="#context_menu_item" class=LVariable id=link38 onMouseOver="ShowTip(event, 'tt22', 'link38')" onMouseOut="HideTip('tt22')">context_menu_item</a> object), <u>reference</u> (the DOM node used when <a href="#$.vakata.context.show" class=LFunction id=link39 onMouseOver="ShowTip(event, 'tt21', 'link39')" onMouseOut="HideTip('tt21')">$.vakata.context.show</a> was called), <u>element</u> (the DOM node of the context menu), <u>position</u> (an object consisting of <u>x</u> and <u>y</u> keys, represinting the current position of the menu)</td></tr></table><h4 class=CHeading>See also</h4><p><a href="#$.vakata.context.show" class=LFunction id=link40 onMouseOver="ShowTip(event, 'tt21', 'link40')" onMouseOut="HideTip('tt21')">$.vakata.context.show</a></p></div></div></div>
|
159
|
+
|
160
|
+
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="context_show"></a>context_show</h3><div class=CBody><p>Triggered when the context menu is shown. This event is triggered on the document in the <b>vakata</b> namespace.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>reference</td><td class=CDLDescription>the DOM node used when <a href="#$.vakata.context.show" class=LFunction id=link41 onMouseOver="ShowTip(event, 'tt21', 'link41')" onMouseOut="HideTip('tt21')">$.vakata.context.show</a> was called</td></tr><tr><td class=CDLEntry>element</td><td class=CDLDescription>the DOM node of the context menu</td></tr><tr><td class=CDLEntry>position</td><td class=CDLDescription>an object consisting of <u>x</u> and <u>y</u> keys, represinting the position of the menu</td></tr></table><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">$(document).bind("context_show.vakata", function (e, data) {
|
161
|
+
// do something
|
162
|
+
});</pre></blockquote></div></div></div>
|
163
|
+
|
164
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.context.hide"></a>$.vakata.<wbr>context.hide</h3><div class=CBody><p>Used internally to hide the contextmenu after a click, or on mouseleave, etc.</p><h4 class=CHeading>Triggers</h4><p><a href="#context_hide" class=LEvent id=link42 onMouseOver="ShowTip(event, 'tt24', 'link42')" onMouseOut="HideTip('tt24')">context_hide</a></p></div></div></div>
|
165
|
+
|
166
|
+
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="context_hide"></a>context_hide</h3><div class=CBody><p>Triggered when the context menu is hidden. This event is triggered on the document in the <b>vakata</b> namespace.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>reference</td><td class=CDLDescription>the DOM node used when <a href="#$.vakata.context.show" class=LFunction id=link43 onMouseOver="ShowTip(event, 'tt21', 'link43')" onMouseOut="HideTip('tt21')">$.vakata.context.show</a> was called</td></tr><tr><td class=CDLEntry>element</td><td class=CDLDescription>the DOM node of the context menu</td></tr><tr><td class=CDLEntry>position</td><td class=CDLDescription>an object consisting of <u>x</u> and <u>y</u> keys, represinting the position of the menu</td></tr></table><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">$(document).bind("context_hide.vakata", function (e, data) {
|
167
|
+
// do something
|
168
|
+
});</pre></blockquote></div></div></div>
|
169
|
+
|
170
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="JSON"></a>JSON</h3><div class=CBody><p>Functions needed to encode/decode JSON. Based on the jQuery JSON Plugin.</p></div></div></div>
|
171
|
+
|
172
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata.json"></a>$.vakata.json</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>$.vakata.json</td></tr></table></blockquote><p><b>object</b> holds all JSON related functions.</p></div></div></div>
|
173
|
+
|
174
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.json.encode"></a>$.vakata.<wbr>json.<wbr>encode</h3><div class=CBody><p>A function for encoding data in a JSON notated string.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>o</td><td class=CDLDescription><b>mixed</b> the data to be encoded</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>string</td><td class=CDLDescription>the encoded data</td></tr></table></div></div></div>
|
175
|
+
|
176
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.json.decode"></a>$.vakata.<wbr>json.<wbr>decode</h3><div class=CBody><p>Exists for consistency and is a simple wrapper for jQuery.parseJSON.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>json</td><td class=CDLDescription>the string to be decoded</td></tr></table><h4 class=CHeading>Returns</h4><p>Same as jQuery.parseJSON</p></div></div></div>
|
177
|
+
|
178
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Cookie"></a>Cookie</h3><div class=CBody><p>A copy of the jQuery cookie plugin.</p></div></div></div>
|
179
|
+
|
180
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.cookie"></a>$.vakata.<wbr>cookie</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>$.vakata.cookie = function (</td><td class=PParameter nowrap>key,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>options</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>A function for getting and setting cookies.</p><h4 class=CHeading>Parameters</h4><p>Same as the original plugin</p><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>string</td><td class=CDLDescription>the encoded data</td></tr></table></div></div></div>
|
181
|
+
|
182
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="LocalStorage"></a>LocalStorage</h3><div class=CBody><p>Functions for dealing with localStorage with fallback to userData or cookies. A slight modification of jstorage.</p></div></div></div>
|
183
|
+
|
184
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata.storage"></a>$.vakata.<wbr>storage</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>$.vakata.storage</td></tr></table></blockquote><p><b>object</b> holds all storage related functions and properties.</p></div></div></div>
|
185
|
+
|
186
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata.storage.version"></a>$.vakata.<wbr>storage.<wbr>version</h3><div class=CBody><p><b>string</b> the version of jstorage used</p></div></div></div>
|
187
|
+
|
188
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.storage.set"></a>$.vakata.<wbr>storage.set</h3><div class=CBody><p>Set a key to a value</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>key</td><td class=CDLDescription>the key</td></tr><tr><td class=CDLEntry>value</td><td class=CDLDescription>the value</td></tr></table><h4 class=CHeading>Returns</h4><p><u>value</u></p></div></div></div>
|
189
|
+
|
190
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.storage.get"></a>$.vakata.<wbr>storage.get</h3><div class=CBody><p>Get a value by key.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>key</td><td class=CDLDescription>the key</td></tr><tr><td class=CDLEntry>def</td><td class=CDLDescription>the value to return if <u>key</u> is not found</td></tr></table><h4 class=CHeading>Returns</h4><p>The found value, <u>def</u> if key not found or <u>null</u> if <u>def</u> is not supplied.</p></div></div></div>
|
191
|
+
|
192
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.storage.del"></a>$.vakata.<wbr>storage.del</h3><div class=CBody><p>Remove a key.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>key</td><td class=CDLDescription>the key</td></tr></table><h4 class=CHeading>Returns</h4><p><b>boolean</b></p></div></div></div>
|
193
|
+
|
194
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.storage.flush"></a>$.vakata.<wbr>storage.<wbr>flush</h3><div class=CBody><p>Empty the storage.</p><h4 class=CHeading>Returns</h4><p><u>true</u></p></div></div></div>
|
195
|
+
|
196
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.storage.storageObj"></a>$.vakata.<wbr>storage.<wbr>storageObj</h3><div class=CBody><p>Get a read only copy of the whole storage.</p><h4 class=CHeading>Returns</h4><p><b>object</b></p></div></div></div>
|
197
|
+
|
198
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.storage.index"></a>$.vakata.<wbr>storage.<wbr>index</h3><div class=CBody><p>Get an array of all the set keys in the storage.</p><h4 class=CHeading>Returns</h4><p><b>array</b></p></div></div></div>
|
199
|
+
|
200
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.storage.storageSize"></a>$.vakata.<wbr>storage.<wbr>storageSize</h3><div class=CBody><p>Get the size of all items in the storage in bytes.</p><h4 class=CHeading>Returns</h4><p><b>number</b></p></div></div></div>
|
201
|
+
|
202
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.storage.currentBackend"></a>$.vakata.<wbr>storage.<wbr>currentBackend</h3><div class=CBody><p>Get the current backend used.</p><h4 class=CHeading>Returns</h4><p><b>string</b></p></div></div></div>
|
203
|
+
|
204
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.storage.storageAvailable"></a>$.vakata.<wbr>storage.<wbr>storageAvailable</h3><div class=CBody><p>See if storage functionality is available.</p><h4 class=CHeading>Returns</h4><p><b>boolean</b></p></div></div></div>
|
205
|
+
|
206
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="PrettyDate"></a>PrettyDate</h3><div class=CBody><p>Modifies time elements to a more human readable value. Taken from: <a href="https://github.com/zachleat/Humane-Dates/blob/master/src/humane.js" class=LURL target=_top>https://github.com<wbr>/zachleat<wbr>/Humane-Dates<wbr>/blob<wbr>/master<wbr>/src<wbr>/humane.js</a></p></div></div></div>
|
207
|
+
|
208
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata.pretty_date"></a>$.vakata.<wbr>pretty_date</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>$.vakata.pretty_date</td></tr></table></blockquote><p><b>object</b> holds all pretty-date related functions and properties.</p></div></div></div>
|
209
|
+
|
210
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata.pretty_date.lang"></a>$.vakata.<wbr>pretty_date.lang</h3><div class=CBody><p><b>object</b> the localization to use.</p></div></div></div>
|
211
|
+
|
212
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.pretty_date.parse"></a>$.vakata.<wbr>pretty_date.<wbr>parse</h3><div class=CBody><p>Parses the difference between to dates to a human readable string.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>date</td><td class=CDLDescription>the date to calculate from (а string in this YYYY-MM-DDTHH:MM:SSZ format - UTC)</td></tr><tr><td class=CDLEntry>comareTo</td><td class=CDLDescription>the date to compare to (as date), if left empty the current date is used</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*mixed*</td><td class=CDLDescription>the formatted string on success or <u>null</u> on error</td></tr></table></div></div></div>
|
213
|
+
|
214
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.pretty_date.init"></a>$.vakata.<wbr>pretty_date.init</h3><div class=CBody><p>Parses all time elements in the document and keeps reparsing them every few seconds.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>i</td><td class=CDLDescription>the interval for reparsing (in milliseconds). Default is 60000.</td></tr><tr><td class=CDLEntry>format</td><td class=CDLDescription>the format to use, example: <u>Published %{s}.</u>. Default is <u>%{s}</u>.</td></tr></table></div></div></div>
|
215
|
+
|
216
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$().vakata_pretty_date"></a>$().vakata_pretty_date</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>$.fn.vakata_pretty_date = function (</td><td class=PParameter nowrap>format,</td></tr><tr><td></td><td class=PParameter nowrap>compare</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the HTML of every element to the parsed difference of its <u>datetime</u> attribute and the compare parameter.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>format</td><td class=CDLDescription>makes it possible to modify the parsed string, example: <u>Published %{s}.</u>. Default is <u>%{s}</u>.</td></tr><tr><td class=CDLEntry>compare</td><td class=CDLDescription>the date to compare to. Default is the current date.</td></tr></table></div></div></div>
|
217
|
+
|
218
|
+
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Selection"></a>Selection</h3><div class=CBody><p>Selection related functions</p></div></div></div>
|
219
|
+
|
220
|
+
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="$.vakata.selection"></a>$.vakata.<wbr>selection</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>$.vakata.selection</td></tr></table></blockquote><p><b>object</b> holds all selection related functions and properties.</p></div></div></div>
|
221
|
+
|
222
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.selection.get"></a>$.vakata.<wbr>selection.get</h3><div class=CBody><p>Gets the current selection.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>as_text</td><td class=CDLDescription>a boolean - if set to <u>true</u> selection is returned as text, otherwise as HTML</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*string*</td><td class=CDLDescription>the current selection</td></tr></table></div></div></div>
|
223
|
+
|
224
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.selection.elm_get"></a>$.vakata.<wbr>selection.<wbr>elm_get</h3><div class=CBody><p>Gets the selection inside an input element or textarea.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>e</td><td class=CDLDescription>the actual DOM element or the ID of the element</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*object*</td><td class=CDLDescription>the current selection (start, end, length, text)</td></tr></table></div></div></div>
|
225
|
+
|
226
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.selection.elm_set"></a>$.vakata.<wbr>selection.<wbr>elm_set</h3><div class=CBody><p>Sets the selection inside an input element or textarea.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>e</td><td class=CDLDescription>the actual DOM element or the ID of the element</td></tr><tr><td class=CDLEntry>beg</td><td class=CDLDescription>the char to start the selection</td></tr><tr><td class=CDLEntry>end</td><td class=CDLDescription>the char to end the selection</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*object*</td><td class=CDLDescription>the current selection (start, end, length, text)</td></tr></table></div></div></div>
|
227
|
+
|
228
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.selection.elm_replace"></a>$.vakata.<wbr>selection.<wbr>elm_replace</h3><div class=CBody><p>Replace the selection inside an input element or textarea.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>e</td><td class=CDLDescription>the actual DOM element or the ID of the element</td></tr><tr><td class=CDLEntry>replace</td><td class=CDLDescription>the string to replace the selection with</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*object*</td><td class=CDLDescription>the current selection (start, end, length, text)</td></tr></table></div></div></div>
|
229
|
+
|
230
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.selection.elm_get_caret"></a>$.vakata.<wbr>selection.<wbr>elm_get_caret</h3><div class=CBody><p>Returns the caret position in the element.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>e</td><td class=CDLDescription>the actual DOM element or the ID of the element</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*number*</td><td class=CDLDescription>the current caret position</td></tr></table></div></div></div>
|
231
|
+
|
232
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.selection.elm_set_caret"></a>$.vakata.<wbr>selection.<wbr>elm_set_caret</h3><div class=CBody><p>Sets the caret position in the element.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>e</td><td class=CDLDescription>the actual DOM element or the ID of the element</td></tr><tr><td class=CDLEntry>pos</td><td class=CDLDescription>the position to move the caret to</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*object*</td><td class=CDLDescription>the current selection</td></tr></table></div></div></div>
|
233
|
+
|
234
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata.selection.elm_get_caret_position"></a>$.vakata.<wbr>selection.<wbr>elm_get_caret_position</h3><div class=CBody><p>Returns the caret position in pixels relative to the element.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>e</td><td class=CDLDescription>the actual DOM element or the ID of the element</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*object*</td><td class=CDLDescription>the current position (with <u>left</u> and <u>top</u> values)</td></tr></table></div></div></div>
|
235
|
+
|
236
|
+
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="$.vakata_highlight"></a>$.vakata_highlight</h3><div class=CBody><p>Hightlight words in the matched elements</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>settings</td><td class=CDLDescription>if a string is passed, it is used to search and highlight, if an array of strings is passed, each string is highlighted, you can also pass an object, containing a <u>words</u> string or array, a <u>color</u> string or array, a <u>css class</u> string.</td></tr></table></div></div></div>
|
237
|
+
|
238
|
+
</div><!--Content-->
|
239
|
+
|
240
|
+
|
241
|
+
<div id=Footer>Copyright © 2010 Ivan Bozhanov · Updated June 7th, 2012 · <a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
|
242
|
+
|
243
|
+
|
244
|
+
<div id=Menu><div class=MTitle>jstree<div class=MSubTitle>jquery treeview plugin</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Core</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="jstree-js.html">jstree.js</a></div></div><div class=MEntry><div class=MFile id=MSelected>vakata.js</div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Plugins</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="jstree-html-js.html">jstree.<wbr>html.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-json-js.html">jstree.<wbr>json.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-themes-js.html">jstree.<wbr>themes.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-ui-js.html">jstree.<wbr>ui.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-state-js.html">jstree.<wbr>state.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-contextmenu-js.html">jstree.<wbr>contextmenu.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-hotkeys-js.html">jstree.<wbr>hotkeys.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-sort-js.html">jstree.<wbr>sort.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-dnd-js.html">jstree.<wbr>dnd.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-unique-js.html">jstree.<wbr>unique.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-checkbox-js.html">jstree.<wbr>checkbox.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-xml-js.html">jstree.<wbr>xml.js</a></div></div><div class=MEntry><div class=MFile><a href="jstree-rules-js.html">jstree.<wbr>rules.js</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Index</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MIndex><a href="../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Events.html">Events</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Variables.html">Variables</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Classes.html">Classes</a></div></div></div></div></div><script type="text/javascript"><!--
|
245
|
+
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
|
246
|
+
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Events">Events</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div></div><!--Menu-->
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
<!--START_ND_TOOLTIPS-->
|
251
|
+
<div class=CToolTip id="tt1"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>(</td><td class=PTypePrefix nowrap>function </td><td class=PType nowrap>($) </td><td class=PParameter nowrap>{ $.vakata = {}; }</td><td class=PAfterParameters nowrap>)(jQuery)</td></tr></table></td></tr></table></blockquote><b>object</b> Holds all helper objects.</div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>$.vakata.css</td></tr></table></blockquote><b>object</b> holds all CSS related functions</div></div><div class=CToolTip id="tt3"><div class=CFunction>Retrieves or deletes a specific rule.</div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>$.vakata.dnd</td></tr></table></blockquote><b>object</b> holds all DND related functions</div></div><div class=CToolTip id="tt5"><div class=CFunction>Use this function to start a drag (usually with the mousedown event)</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>$.vakata.xslt = function (</td><td class=PParameter nowrap>xml,</td></tr><tr><td></td><td class=PParameter nowrap>xsl</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>This functions transforms a XML string using a XSL string. </div></div><div class=CToolTip id="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>$.vakata.context</td></tr></table></blockquote><b>object</b> holds all context menu related functions and variables.</div></div><div class=CToolTip id="tt8"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>$.vakata.json</td></tr></table></blockquote><b>object</b> holds all JSON related functions.</div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>$.vakata.cookie = function (</td><td class=PParameter nowrap>key,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>options</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>A function for getting and setting cookies.</div></div><div class=CToolTip id="tt10"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>$.vakata.storage</td></tr></table></blockquote><b>object</b> holds all storage related functions and properties.</div></div><div class=CToolTip id="tt11"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>$.vakata.pretty_date</td></tr></table></blockquote><b>object</b> holds all pretty-date related functions and properties.</div></div><div class=CToolTip id="tt12"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>$.fn.vakata_pretty_date = function (</td><td class=PParameter nowrap>format,</td></tr><tr><td></td><td class=PParameter nowrap>compare</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the HTML of every element to the parsed difference of its <u>datetime</u> attribute and the compare parameter.</div></div><div class=CToolTip id="tt13"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>$.vakata.selection</td></tr></table></blockquote><b>object</b> holds all selection related functions and properties.</div></div><div class=CToolTip id="tt14"><div class=CFunction>Removes a rule, this functions is a shortcut to $.vakata.css.get_css with the delete flag set to true.</div></div><div class=CToolTip id="tt15"><div class=CEvent>Fires when a container is scrolled due to dragging near its edge. </div></div><div class=CToolTip id="tt16"><div class=CEvent>Marks the start of the drag. </div></div><div class=CToolTip id="tt17"><div class=CEvent>Triggered multiple times while dragging. </div></div><div class=CToolTip id="tt18"><div class=CVariable><b>integer</b> amount of pixels required to move before the drag is started. </div></div><div class=CToolTip id="tt19"><div class=CEvent>Marks the end of the drag. </div></div><div class=CToolTip id="tt20"><div class=CEvent>Triggered when the context menu is parsed but not yet shown. </div></div><div class=CToolTip id="tt21"><div class=CFunction>Shows the context menu. </div></div><div class=CToolTip id="tt22"><div class=CVariable><b>object</b> Used to construct a context menu entry, this structure will always be a part of an object.</div></div><div class=CToolTip id="tt23"><div class=CEvent>Triggered when the context menu is shown. </div></div><div class=CToolTip id="tt24"><div class=CEvent>Triggered when the context menu is hidden. </div></div><!--END_ND_TOOLTIPS-->
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
|
256
|
+
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
|
257
|
+
|
258
|
+
|
259
|
+
<script language=JavaScript><!--
|
260
|
+
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|