minor update to ubuntu package
[openemr.git] / library / js / jquery.treeview-1.4.1 / demo / demo.js
blob57ae041030ea8c2e6c68a59f7f276927dc76d730
1 $(document).ready(function(){
2         
3         // first example
4         $("#browser").treeview();
5         
6         // second example
7         $("#navigation").treeview({
8                 persist: "location",
9                 collapsed: true,
10                 unique: true
11         });
12         
13         // third example
14         $("#red").treeview({
15                 animated: "fast",
16                 collapsed: true,
17                 unique: true,
18                 persist: "cookie",
19                 toggle: function() {
20                         window.console && console.log("%o was toggled", this);
21                 }
22         });
23         
24         // fourth example
25         $("#black, #gray").treeview({
26                 control: "#treecontrol",
27                 persist: "cookie",
28                 cookieId: "treeview-black"
29         });
31 });