Jared,
On Oct 31, 2005, at 1:19 PM, Jared Nielsen wrote:
> I'm rebelling against javascript (for the hover states) in my tabular
> menus
> so I'm seeking some guidance
> <snip>
> It all works swimmingly, but the "active" state is what I want to
> persist
> once they have clicked on it.
Having a 'live' page to see this on would help in getting cogent
answers. Having said that, the css active pseudo-class is only
available (as you have discovered) while it is the 'active' link.
Usually, clicking on a link forces a page reload, so it's not something
people think about a lot. If clicking the link doesn't change pages,
you will have to use classes and a small snippet of javascript to set
the className as appropriate. If you need to go down this road,
contact me off-list and I'll be glad to help.
Roger,
Roger Roelofs
"Remember, if you’re headed in the wrong direction,
God allows U-turns!"
~Allison Gappa Bottke
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/