| Author |
Message |
CSPalmisano
Joined: 11 Oct 2006 Posts: 2
|
Posted: Thu Oct 12, 2006 5:37 pm Post subject: Node Selection State |
|
|
| I realize that elements 21 and 22 in tree_format.js let you apply a background color to selected nodes, but when the page reloads the selected node reverts to its unselected state. Is there a workaround for this? |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Sat Jan 27, 2007 6:16 am Post subject: |
|
|
You should enable option #17:
| Code: | // 17. store tree state into cookies
true, |
|
|
| Back to top |
|
 |
parallon
Joined: 27 Jan 2006 Posts: 10
|
Posted: Wed Jun 06, 2007 4:52 pm Post subject: |
|
|
What CSS properties apply to Option 22? I am trying to use an image and a change in font color, but the only thing I get is blue text.
I have the following for option 22:
| Code: | | [, , "treeNodeSpec0:select"], |
... and here is the CSS:
| Code: | .treeNodeSpec0:select {
background-image: url(images/Menu_Button_on.gif);
text-decoration: none; color: red; font: bold 7.5pt tahoma;
} |
Thank you. |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Wed Jun 06, 2007 4:58 pm Post subject: |
|
|
| I think you should not use colon (:) in your CSS classes because it conflicts with pseudoclassed. Replace it with underscore (_) or dash (-). |
|
| Back to top |
|
 |
parallon
Joined: 27 Jan 2006 Posts: 10
|
Posted: Wed Jun 06, 2007 6:51 pm Post subject: |
|
|
Worked like a charm.
Thanks again! |
|
| Back to top |
|
 |
|