fiduser
Junior Member
Posts: 2
Registered: 8/30/2007
Member Is Offline
|
| posted on 8/30/2007 at 06:28 PM |
|
|
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.
|
|
|
tigra
Administrator
Posts: 1915
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 8/30/2007 at 09:19 PM |
|
|
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.
|
|
|
fiduser
Junior Member
Posts: 2
Registered: 8/30/2007
Member Is Offline
|
| posted on 9/4/2007 at 11:43 PM |
|
|
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?
|
|
|
tigra
Administrator
Posts: 1915
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 9/5/2007 at 02:11 AM |
|
|
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.
|
|
|