| Author |
Message |
shamsubhaidani
Joined: 27 Jun 2007 Posts: 2
|
Posted: Thu Jun 28, 2007 8:37 pm Post subject: CSS Class for each node |
|
|
Hi
I know that we can set a css style/class for each node level, but is it possible to set a class/style for each node.
Our scenario is based on the main level of the tree representing different departments. However each department has its own colour. I would like to have the corresponding colour of each department as the background for the level2 menu items.
We have only 2 levels on our menu.
thanks |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Fri Jul 06, 2007 5:58 am Post subject: |
|
|
You can do it like this: | Code: | | ['<span class="mySpecialClass">Item 1</span>', null, null], |
|
|
| Back to top |
|
 |
|