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: How to specify which lines show which icon.
Tavplex
Newbie

Posts: 1
Registered: 10/19/2002
Member Is Offline
sad.gif posted on 10/19/2002 at 12:43 AM Reply With Quote
How to specify which lines show which icon.


Hi,

The downloadable version of Tigra Tree Menu does everything I need except for one thing; I can't figure out how to modify the script so I can specifiy which lines display a folder icon, and which displays a page icon. I did, however, notice on the javascript that contains the text and link information code that the code lines that display the folder icon contains only one ' [ ' at the beginning of the line, and the lines thatdisplays the page icon are surrounded by ' [ ] .' I tried to modify this, but when I did the script didn't work. How do I specify which lines display the folder icons, and which the page icons?

Thanks...
View User's Profile View All Posts By User U2U Member
mvaisman
Member

Posts: 11
Registered: 10/17/2002
Member Is Offline
posted on 10/22/2002 at 07:35 PM Reply With Quote

The [ and ] in the Menu (var TREE_ITEMS = [.....) are for set the Items and Sub items.

var TREE_ITEMS = [
[Level 0, [ Level 1 ] , [Level 1, [Level 2 ],[Level 2],],[Level 1]....

The icons are in a Function.

Look at the code:
function item_get_icon (b_junction) {
return this.o_root.a_tpl['icon_' + ((this.n_depth ? 0 : 32) +
(this.a_children.length ? 16 : 0) + (this.a_children.length && this.b_opened ? 8 : 0) +
(!b_junction && this.o_root.o_selected == this ? 4 : 0) +
(b_junction ? 2 : 0) + (b_junction && this.is_last() ? 1 : 0))];}
and analize it. you will find all you need.
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