[thelist] NavBar, highlighting current link

Kevin Cannon p+evolt at redbrick.dcu.ie
Fri Feb 21 10:52:01 CST 2003


Hey,

I have a typical navbar
home  contact  about  moo

I just want to highlight the current page,
and in the absencs of an a:current pseudo element in CSS i'm wondering wht my
options are.

Is it possible to do it via some javascript which checks links to a page and
adds a class/id to it if it's the current version?

Or perhaps it's possible to do it using dreamweavers new template expressions.

I suppose I could also do it using PHP or somethign serverside, but it seems a
little overkill.

Advice appreciated.

- Kevin



More information about the thelist mailing list