-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi everybody, my question are about I can use different styles for my trees, I have two trees, the fisrt tree I use it with menus obviously this tree is in the index and the other tree I use it a modal, I execute the modal when the user wants to add another menu then he can choose the father of that menu. I want to apply the style:
span.z-tree-root-open, span.z-tree-root-close{ background-image: none; }
To avoid show the cartoons of the menu tree of the index but... When I applied this style twice trees have the same style and only I don't want show in the index but if only elsewhere.
Regards and thanks.
Hello eskaflou,
It sounds like the components share the common styling. Another thing that you could consider is using the zclass in order to reset the styling and add a new one.
Please refer to the following url:
http://books.zkoss.org/wiki/ZKStyleCustomizationGuide/ZKCSSClassDesign/Zclass
Best Regards,
Darksu
Asked: 2015-02-21 16:32:17 +0800
Seen: 6 times
Last updated: Feb 21 '15
Large Tree with dynamic columns
Tree width lost after changing col width on maximized panel
MVVM tree example to show add/insert/delete/move/drag?
Error writing 'checked' on type org.zkoss.zul.Checkbox [closed]
Problem with changing MVVM tree model
zk framework: how to load zul pages from WEB-INF under directory zul