设置 jstree 时要包含哪些 .js 和 .css 文件

发布于 2024-12-08 15:43:46 字数 341 浏览 7 评论 0原文

我已经从 jstree home 下载链接下载了这些文件。我已经在使用 jquery 库了。

下载包含以下文件 1._lib(三个.js文件)
2.主题(不同的主题样式(.css),还包括jstree的图片)
3._docs文件夹(文档注释)
4._demo(演示站文件)
5. jquery.jstree.js(目前我只在我的应用程序中包含此文件)

我需要在下载的 Rails 应用程序中包含哪些文件(pics .js 和 .css)。我已经看到了您可以下载的其他_libs 的链接。 谢谢

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

The download contains the following 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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

叹梦 2024-12-15 15:43:46

假设您只想要基本的 jsTree 安装,您将包括:

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

然后您可以包括:

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

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
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文