[ic] Which tag do I need.

Ton Verhagen interchange-users@lists.akopia.com
Sat Jul 28 03:25:00 2001


At 06:10 PM 7/27/01 -0700, you wrote:
>At 08:40 PM 7/27/2001 -0400, you wrote:
>>I am trying to set up some tabs that will highlight the page you are on.
>>For example, if you are on the index.html page you the tab will be a
>>different color.  If you go to service.html then that tab will be
>>highlighted.

Dear Gregg,

There is quit an easy way to accomplish what you want.

When you're using the foundation catalog you can highlight the links (when 
active) on the left side as follows:

Change the LINK_TEMPLATE variable in the variable table from:

     <a href="$URL$">$ANCHOR$</a>

to:

     <a href="$URL$">$ANCHOR${HIGHLIGHT}<B>$ANCHOR$<B>{/HIGHLIGHT}</a>

Of course you can choose any html you want in between the 
{HIGHLIGHT}{/HIGHLIGHT}.

You could also define a link_template in the area and cat tables for a few 
or all lines.
Or you could pass a link template to the bar_link routine in component 
category_vertical, like:

Change:   [cat-exec bar_link]cat[/cat-exec]<BR>
To: [cat-exec bar_link]cat[/cat-exec]<a 
href="$URL$">$ANCHOR${HIGHLIGHT}<B>$ANCHOR$<B>{/HIGHLIGHT}</a>

Hope this helps.

Good luck,

Ton