jimstan
Newbie
Posts: 1
Registered: 8/16/2006
Member Is Offline
|
| posted on 8/16/2006 at 09:44 AM |
|
|
tree menu icons
Hello,
I have a functioning tree menu that I use for file downloads. I use both word and pdf files, and would like to be able to use icons indicating the
file type. I found the location in the tree_tpl.js file, and made a pdf icon that works:
'icon_0' : 'icons/icon_pdf.gif', // leaf icon normal
'icon_4' : 'icons/icon_pdf.gif', // leaf icon selected
How do I make it so a word icon will show up for the word docs?
Thanks,
Jim
|
|
|
tigra
Administrator
Posts: 1926
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 8/16/2006 at 10:30 PM |
|
|
You should either use item scope settings of the PRO version (this allows you to assign the icons independently for each tree item) or you can
customize the tree version for your needs (intermediate to advanced JavaScript skills required).
|
|
|
mskeete
Newbie
Posts: 1
Registered: 8/17/2006
Member Is Offline
|
| posted on 8/17/2006 at 05:31 AM |
|
|
Hi, I'm using the PRO version and I wondered, Is there a simply way to set the icon of a leaf or Node regardless of state
I has hoping to avoid specifying the same icon 8 times for each leaf
Also, the documentations does not seem to show how to use icon scope settings for a node (only a leaf)
something like i255:mygif would be idea
|
|
|
tigra
Administrator
Posts: 1926
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 8/17/2006 at 03:32 PM |
|
|
check out http://www.softcomplex.com/forum/viewthread_3559/ for
the way to simplify the configuration while improving the manageability.
|
|
|