开发者

what .js and .css files to include when setting up jstree

I have downloaded the files from jstree home downoad link. i am already using jquery library.

The download contains the f开发者_JAVA技巧ollowing files 1. _lib (three .js files)

2. themes (different theme styles(.css), also includes pics for jstree)

3. _docs folder(documentation notes)

4. _demo(demonstation files)

5. jquery.jstree.js(currently i have only included this file in my app)

What files(pics .js & .css) do i need to include in my rails app from the download. I have seen links to other _libs that you can download. Thank you


Assuming you only wanted the base jsTree install you would include:

jquery.jstree.js
themes/default/style.css
themes/default/ (Copy this entire folder into your project)

Then you can include:

jquery.cookie.js - For cookie support
jquery.hotkeys.js - For keyboard support
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜