Skip to content
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

Closed
fabiomarchesi77 opened this issue Jun 11, 2011 · 7 comments
Closed

theme configuration problem #35

fabiomarchesi77 opened this issue Jun 11, 2011 · 7 comments

Comments

@fabiomarchesi77
Copy link

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?

@fabiomarchesi77
Copy link
Author

@vakata
Copy link
Owner

vakata commented Jul 11, 2011

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).

@vakata vakata closed this as completed Jul 11, 2011
@CodeDreamer68
Copy link

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)?

@sjayanna01
Copy link

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)

@srigi
Copy link

srigi commented May 15, 2012

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:

@trumbitta
Copy link

I have the very same problem with icons and dots

@trumbitta
Copy link

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");
        });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants