[thelist] CSS hyperlink question.

David Dorward evolt at david.us-lot.org
Wed Oct 1 04:48:55 CDT 2003


On Wed, Oct 01, 2003 at 10:21:10 +0200, Tom van Gemert wrote:
> I was wondering if it is possible to have a tekst link wich changes 
> color on hover, and then when it is clicked it has to stay that color
> (until another one is clicked)?

Not with just CSS. You'll need some JavaScript to achieve
this. Possibly based on http://dorward.me.uk/software/frag/ (although
you'll have to alter it to change the class of the clicked link rather
then the headings).

-- 
David Dorward                                       http://dorward.me.uk/


More information about the thelist mailing list