Page 1 of 1

News Module - Active Links

Posted: Thu Sep 30, 2010 5:23 pm
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?

Re: News Module - Active Links

Posted: Thu Sep 30, 2010 6:01 pm
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...

Re: News Module - Active Links

Posted: Thu Sep 30, 2010 6:15 pm
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.