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: display node as text only
fiduser
Junior Member

Posts: 2
Registered: 8/30/2007
Member Is Offline
posted on 8/30/2007 at 06:28 PM Reply With Quote
display node as text only


Is there a way to display a node as text only, instead of as a link? I've read in other postings that you're supposed to use "null" for that, but that doesn't work. The node still displays as a link, but the link doesn't go anywhere when clicked. I wanted to display a list of items, and when the user clicks on the plus sign next to the item a description would drop down. I'm doing something like this:

var TREE_ITEMS = [
['', 0, {'tt' : 'Window object', 'sb':'Window object'},
['Item to be described', 'http://linktogoto.com', {st:0},
['description',null]]]]

I want the "description" to be just text. Is it possible to do that with Tigra Tree Menu PRO? Thanks for your help.
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 8/30/2007 at 09:19 PM Reply With Quote

With the PRO version you can assign CSS classes to each item individually (see item scope settings). Create CSS class that has contained <a ..> tags not underlined and different color and assign it to the items with the description. For the live sample see demo2 inside the distribution package.
View User's Profile View All Posts By User U2U Member
fiduser
Junior Member

Posts: 2
Registered: 8/30/2007
Member Is Offline
posted on 9/4/2007 at 11:43 PM Reply With Quote

I appreciate your help, but I'm still having trouble. I've looked and looked, and I haven't been able to find a style that will essentially make a link not be a link. I can change the color and get rid of underlining, but the text is still clickable. Is there a parameter I can use so it will just be straight text?
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 9/5/2007 at 02:11 AM Reply With Quote

The text will always be within <a ..> tag. If there is no link assigned to the item the click will not do anything. You can change color, remove underline and change the cursor via the styles.
View User's Profile View All Posts By User U2U Member
Post new thread

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