Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-10-10 21:26:56

draganbabic
Member
From: Novi Sad, Serbia
Registered: 2006-09-27
Posts: 118
Website

Highlighting the current article in a list

Hi guys, I have a specific problem, let me illustrate.

On a site I am building I have a menu that is basically an article list. (The screen on the top, illustrates the “all inactive” state)

Now take a look at the screen on the bottom. That’s when the user is on the “participants” section and I add a class active to the list item elements via the if_section tag. The problem is that I need to go a level deeper and add that same class to the article title as well.

Any ideas on how to achieve this? This is one of the problems I keep having time and time again.

Thanks in advance!

Offline

#2 2007-10-10 21:33:21

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Highlighting the current article in a list

this plugin perhaps: rvm_if_this_article

Offline

#3 2007-10-10 21:37:43

draganbabic
Member
From: Novi Sad, Serbia
Registered: 2006-09-27
Posts: 118
Website

Re: Highlighting the current article in a list

Thanks a bunch, that is exactly what I needed all this time!

Offline

Board footer

Powered by FluxBB