Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: different icons for different leafs
tintin
Newbie

Posts: 1
Registered: 9/15/2002
Member Is Offline
posted on 9/15/2002 at 04:25 PM Reply With Quote
different icons for different leafs


Is there any way that you can display a different icon for a specific leaf? Obviously if I want to change icon for all leaf's I can just use a different icon file, but I want to have different icons (similar to MS Outlook) depending on what the leaf is. Thkx
View User's Profile View All Posts By User U2U Member
Dennus
Junior Member

Posts: 3
Registered: 8/27/2002
Member Is Offline
posted on 9/15/2002 at 05:35 PM Reply With Quote
Yes you can!


Yes you can.

And it's quite easy to.

Alter the item_get_icon() function. If you have the default version of the script you can for instance check the "this.a_config[0]" variable (wichis the name part of the item) or the "this.a_config[1]" wich is the link part.

When you do this keep in mind that when the "b_junction" parameter (passed to the item_get_icon()") is true the function needs to return a + or - sign (and some other ones) so in that case you can't return your own custom icon.

Hope this makes sense.

Bye
View User's Profile View All Posts By User U2U Member
mkaamino
Newbie

Posts: 1
Registered: 10/16/2002
Member Is Offline
posted on 10/16/2002 at 02:12 AM Reply With Quote

Hi! can you simplify what you stated? I'm also trying to change the leaf icons into different so that they won't look alike..
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Tigra Tree Menu
Product Demonstrations Live Demos:
Frames targeting
Win help style
Free Download Free Download
Free Download Menu Builders
Online Builder
Product Documentation Documentation:
Documenation Page
Support Forum Technical Support
Support Forum
   
Tigra Tree Menu PRO
Product Demonstrations Live Demos
Multiple Trees
Frames Targeting
Icons and Styles Overloading
Event Handling
Performance Test
Version 1.2 features
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004