PDA

View Full Version : [RESOLVED] Current selected in templates?


JoshDude
05-26-2008, 03:24 PM
Hi there,

I am using dreamweaver to make this website and I have got a little problem.

I have got this template which has a top nav bar, and if it is selected it has a class="current" for CSS. I am using it in a template so when one updates they all do. This is where the problem occurs. I cannot set each one to current on the nav bar.

I could make the nav bar and editable region, however I dont want to, as then if I update it, it wont up date any of the others.

Is there a way to do a sort of IF statment saying if the url equals www.mydomain.com/aboutus.html class equals current?

Thanks.

Josh

JoshDude
05-26-2008, 04:31 PM
Dont worry, I have gotten it now.

Josh

Pegasus
05-26-2008, 04:52 PM
How did you fix it?