-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
theme configuration problem #35
Comments
Which browser are you using? I just tested and all is fine with the latest pre1.0 ... The url you give is not live anymore (sorry for the delay). |
I have the same problem. "themes" ignores settings for "dots" and "icons" but not "theme". What I noticed is that in the pre1.0 the javascript file name is jquery.jstree.js, but in the main download it seems to be jstree.core.js. Which one should we use? I'm confused. Is jstree.core.js the latest (from the main download button)? |
Can anyone please reply to this issue?? - (Just a copy of the above comment. Even i have the same problem). I have the same problem. "themes" ignores settings for "dots" and "icons" but not "theme". What I noticed is that in the pre1.0 the javascript file name is jquery.jstree.js, but in the main download it seems to be jstree.core.js. Which one should we use? I'm confused. Is jstree.core.js the latest (from the main download button) |
This problem is still there. v1.0.0 (2012-04-09) is ignoring these two directives in configuration if set to false. I've created little demo for anybody interested: |
I have the very same problem with icons and dots |
And here's a quick workaround for v1.0.0 just to get things done: jQuery("#somecontainer")
.jstree({
"plugins" : [ "themes", "html_data" ],
"themes" : {
"theme" : "default",
dots : false,
icons : false
}
})
.bind("__ready.jstree", function (event, data) {
$("#somecontainer").jstree("hide_dots");
$("#somecontainer").jstree("hide_icons");
}); |
I'm want to use "classic" theme with no "dots" visible and no "icons" visibile.
The following code doesn't work, "default" theme is used with icons and dots:
jQuery('#prova').jstree({
plugins : [ "themes", "html_data" ],
themes : { theme: "classic", dots : false, icons : false }
});
If I add "ui" in the plugins list then "classic" theme works, but dots and icos are still visible:
jQuery('#prova').jstree({
plugins : [ "themes", "html_data", "ui" ],
themes : { theme: "classic", dots : false, icons : false }
});
Why?
The text was updated successfully, but these errors were encountered: