News Module - Active Links

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
upwithit
Forum Members
Forum Members
Posts: 21
Joined: Mon Jan 05, 2009 7:23 pm

News Module - Active Links

Post by upwithit »

Hi,
Hopefully there is a very quick and easy solution to this. 
Running version 1.8.2.
I have created a template.  On the right hand side of each news page, I want a list of links to the various news items, which are displayed on the left side the page.  What I need is for the link for whichever news item is currently displaying to have a different class, so it appears "active."
Any ideas?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: News Module - Active Links

Post by Dr.CSS »

News doesn't have the ability to determine if the link has been clicked or is being viewed, you may be able to do this with jQuery but not real sure that will work, sorry...
upwithit
Forum Members
Forum Members
Posts: 21
Joined: Mon Jan 05, 2009 7:23 pm

Re: News Module - Active Links

Post by upwithit »

I keep thinking there must be a way in the summary template to use some kind of if/then statement to recognize the current url as matching the {$moreurl}, but I can't quite crack it.
Post Reply

Return to “Modules/Add-Ons”