Themes

A small demo of the included themes. The configuration ui object controls various features of visualization - check the documentation for more.

// Buttons
$
.tree_focused().toggleDots();
change_theme
(this.value);

function change_theme(new_theme) {
  conf
.ui.theme_name = new_theme;
  tree1
.destroy();
  tree1
.init($("#demo"), $.extend({},conf));
};
conf
= {
 
// Rest omitted
  ui
: {
    theme_name
: "checkbox"
 
}
};
$
(function () {
    tree1
= $.tree_create();
    tree1
.init($("#demo"), $.extend({},conf));
});