tags:

views:

99

answers:

3

Any inbuilt jstree themes available ?

A: 

The 1.0rc1.zip didn't have any themes included other than the default, but the 1.0rc2.zip available at http://www.jstree.com has the default, default-rtl, apple, and classic included. Those themes are also in the svn version available at http://code.google.com/p/jstree/source/checkout.

carpie
A: 

Yes. Some part of code using theming in 1.0 (rc2) :

$("#tree").jstree({
      "themes": {
        "theme": "default",
        "dots": true,
        "icons": true,
        "url": "/css/jstree/themes/default/style.css"
      },
"plugins" : [ "themes", "ui" ]
});
andser
+1  A: 

Consider using the themeroller plugin documented here: http://www.jstree.com/documentation/themeroller

This will allow your application to have a consistent look with many other jQuery plugins that also support themeroller.

Dennis Burton