|
Posted by Jim Moe on 06/23/06 06:44
Kevin Scholl wrote:
>
>>> EX: Global tool page included a link to the news page. It is colored black
>>> like all the othe links listed in the global tool page. Once you have
>>> navigated to the news page, the link for that page has now changed to red in
>>> the global tool bar. I thought that was what A: active link is used for but
>>> I think I am wrong.
>>>
>> The closest you can get with CSS is a:visited, but it is not unique. If
>> you set it to red, all the other visited links are red as well.
>
> It actually can be done quite easily with only CSS. There are several
> tutorials for it online; here's a pretty straight forward one:
>
> http://www.hicksdesign.co.uk/journal/highlighting-current-page-with-css
>
Well, I was not considering having to do it all manually.
The method described above does not scale well; it needs a unique ID for
every page and menu item, a lot of cruft builds up in the CSS files. Using
SSIs does not scale easily either since a unique file is needed for each
page's menu.
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Navigation:
[Reply to this message]
|