JavaScript.CoolDev.Com Support Forums

Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Images as Nodes

 
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsTree
Author Message
nyc
Guest





PostPosted: Thu Jul 24, 2003 5:44 pm    Post subject: Images as Nodes Reply with quote

We have purchased COOLjsTreePRO.
We want to to have Images as nodes and sub-nodes.
Thus, a separate image for each node\sub-node should be specified, conforming to certain dimensions.
How can we have that ?
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Thu Jul 24, 2003 10:33 pm    Post subject: Reply with quote

Just insert your images as nodes' contents:
Code:
['<img src="img1.gif" width="120" height="18" alt="Item #1"/>', 'some_file1.html', null],
Back to top
nyc
Guest





PostPosted: Fri Jul 25, 2003 2:26 pm    Post subject: Reply with quote

Thanks,
I did figure it out. Once i saw that you can have html in your Caption.
That is very powerful.
Now i am going to try putting js code for mouse effects (changeimage when selected, etc).

I am happy with the product.
Thanks again.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsTree All times are GMT
Page 1 of 1