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: Can we have additional URL or Image URL in Tree Structure
rajesh
Junior Member

Posts: 2
Registered: 3/22/2007
Location: mi
Member Is Offline
posted on 3/22/2007 at 01:45 PM Reply With Quote
Can we have additional URL or Image URL in Tree Structure


In the below code snippet of the tree_items.js

var TREE_ITEMS = [
['Level 0', 'www.google.com',
['Level 1','/links1.html',
['Level 2', 'www.google.com'],
],
['Level 1','www.google.com',
['Level 2', 'links1.html',
['Level 3', 'www.google.com'],
]
]
]

];


If i want to add one or more extra link or image URL apart from existing "links1.html" is it possible & HOW TO DO THAT ???
In other words, Can we have 2 URLS for One Node say at Level 0 , Level 1 , Level 2 ,Level 3

Can any one help me in this regard please.
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 3/22/2007 at 02:45 PM Reply With Quote

http://www.softcomplex.com/forum/viewthread_2856/
View User's Profile View All Posts By User U2U Member
rajesh
Junior Member

Posts: 2
Registered: 3/22/2007
Location: mi
Member Is Offline
posted on 3/22/2007 at 06:15 PM Reply With Quote

thanks for the link.

But
what i am trying to implement is different from the above information.

Basically I need to provide another Action Tag along with the New Image or New HREF in the Tree Structure.
for example : "EDIT" Button or Href, Next to each Nodes in Tree,

below is the Tree Structure which i am trying to built.

Level 0 [edit]
..... Level 1 [edit]
........... Level 2 [edit]
..... Level 1 [edit]
........... Level 2 [edit]
................ Level 3 [edit]


In this case Level 0 has different Action or Event (already exists using tree menu)
and
Edit Button or Href has Different Action or Event (new link which needs to be built)

Is this Edit Button possible in existing Tree Menu ?

thanks,
rajesh
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 3/23/2007 at 06:16 PM Reply With Quote

You'll need to modify the code of the tree where it generates the HTML, put any additional HTML after the text of the item inside the Anchor tag.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
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
   

Go To Top


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