| Author |
Message |
corto
Joined: 24 Feb 2005 Posts: 10
|
Posted: Thu Feb 24, 2005 8:15 pm Post subject: Image of a selected node |
|
|
Hi,
Is it possible to change image/icon of a selected node (node without children)? I can use CSS to modify link text itself and I can change its background with trees formatting options, but how about images?
Regards,
Toni |
|
| Back to top |
|
 |
Mega
Joined: 19 Jan 2005 Posts: 6
|
|
| Back to top |
|
 |
corto
Joined: 24 Feb 2005 Posts: 10
|
Posted: Fri Feb 25, 2005 4:47 pm Post subject: |
|
|
Thanks for response,
How about if I want to show only one image in a whole tree -> when user selects childless node he sees an image in a front of the text link (selected node).
Like this (User has clicked "Sound.wav"):
Sound.wav
Picture.gif
Document.doc
And when user clicks "Picture.gif" the image appears in a front of that link.
I can make the link go bold with CSS, but how can I show that image?
I have COOLjsTreePro. |
|
| Back to top |
|
 |
warwickshaw
Joined: 03 Jan 2005 Posts: 3
|
|
| Back to top |
|
 |
corto
Joined: 24 Feb 2005 Posts: 10
|
Posted: Thu Mar 10, 2005 6:41 pm Post subject: |
|
|
Hm, no solution?  |
|
| Back to top |
|
 |
Victor_Chuiko Support Team
Joined: 12 Apr 2005 Posts: 145
|
Posted: Fri Apr 22, 2005 12:23 am Post subject: |
|
|
Sorry, Mega was a newbie and his answer was a bit inaccurate.
Current version of our script doesn't support the feature you are talking of.
But please, explain your idea. May be we'll implement something similar in the next version. URLs of sites with similar functionality, screenshots, etc. - all are appreciated. |
|
| Back to top |
|
 |
warwickshaw
Joined: 03 Jan 2005 Posts: 3
|
Posted: Sat Aug 19, 2006 10:21 pm Post subject: Image of a selected node |
|
|
Using http://javascript.cooldev.com/scripts/cooltree/demos/images/
What I want is an Explorer type view where directories only are displayed in the left hand frame and the files for the currently selected directory displaying in the right hand frame (the right hand frame is easy to do).
Using Tree 4, when Item 1 is selected (which doesn't have any more directories under) there is no way to display the open folder icon without displaying the SubItems like in this example. If the SubItems aren't displayed you can't switch the icon to open.
Warwick |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Sun Aug 20, 2006 7:16 am Post subject: |
|
|
| Upgrade to 2.8.x, and then look at the "Samples/Commented/Individual node properties" sample in the new package. |
|
| Back to top |
|
 |
|