我正在开发一个阿拉伯语的网络应用程序,我需要使用树视图来声明我的数据。我环顾四周,发现jstree是这方面最好的。 当使用默认主题(这是LTR)时,树工作正常,但是当我切换到名为default-rtl的内置主题时,我没有看到任何更改。我在萤火虫环顾四周,脚本确实正在加载相应的css文件。这里是我的代码:jstree支持从右到左语言无法正常工作
$("#tree").bind("select_node.jstree", function(event, data) {
// My handler function here
}).bind("open_node.jstree", function (event, data) {
// another function here
}).jstree({
core: {
"animation": 0
},
"themes" : {
"rtl": true,
"theme" : "default-rtl",
"url": "js/libs/jstree/themes/default-rtl/style.css",
"dots" : false,
"icons" : true
},
"plugins" : [ "themes", "html_data", "ui"]
});
有什么我做错了吗?
还是没有答案?有人请帮忙。 – Rorchackh 2012-02-16 19:44:25
我设法解决这个使用我自己的CSS,如果有人有同样的问题,请与我联系。 – Rorchackh 2012-03-09 17:35:23