On 5/17/06, Design Groups <[EMAIL PROTECTED]> wrote:
> Christian Montoya wrote:
> >
> > a:active { color:whatever; }
> >
>
> Yes, but that only works when you click the button (or mouse down).
> When you "unclick" and move away, the color doesn't remain behind, it
> reverts to the "visited" color.  What I'm looking for is the "active"
> state to stay, until another link is clicked.
>
> ~Shelly
> _______________________

I usually use a class (.active{background-color:pink; color:red;} for example)
and then if I am on page X then give this link the .active class. We
use a middle-ware for this (ColdFusion, usually), but I am sure JS can
be used. Or hard code the pages for this.

HTH
-- 

Tom Livingston
Senior Multimedia Artist
Media Logic
www.mlinc.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to