Did you try any of the attributes? Like the StLinkStyle or StHighlightStyle?
I'm fooling around with them, trying to get them to read a style from the
stylesheet I'm using..
-----Original Message-----
From: Kate De Jong [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 11:36 AM
To: Spectra-Talk
Subject: RE: Highlighting link in cfa_tree?
Yes, it was me who asked if there was a solution. But I didn't get a
response, so I hacked it again. I had to put an if/else set of tags around
the treeitem tag, like this:
(We have something called a "BasicPageTitle" unique to every object no
matter which of the 20 templates or so is used to display the object)
<cfif parameterExists(BasicPageTitle) AND (#BasicPageTitle['en']# EQ
#TreeLabel.ProductOverview['en']#>
<cfa_treeitem label="<font
color=blue>#TreeLabel.ProductOverview[mylanguage]#</font>"
value="lsjlsjflsj.cfm"/>
<cfelse>
<cfa_treeitem label="#TreeLabel.ProductOverview[mylanguage]#"
value="lsjlsjflsj.cfm"/>
</cfif>
This worked in about 90% of the situations, but I ended up hardcoding a few
of the EQ statements and using CONTAINS instead of EQ in some of them.
Hope this helps. It seems like there should be a better way, but when the
deadline is there, hacks do the job. I'm just hoping it won't take to long
to extract myself from the hack later on!
Kate
-----Original Message-----
From: Sean Faulkner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 7:19 AM
To: Spectra-Talk
Subject: Highlighting link in cfa_tree?
Hi all:
I saw a posting on this a little while ago and I was wondering if there was
a solution.. has anyone figured out how to 'highlight' (as in, make bold, or
whatever) whichever page you are on in your cfa_tree navigation algorithim?
I've been assigned to do this and it's been programmed dynamically with
several loops, and it's multiligual.. any ideas????
Thanks in adv.
Sean
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.