[thelist] javascipt and css hover

Kathy Long kathy at site-etc.com
Tue May 14 17:12:01 CDT 2002


Adam,
I know you are looking for a way to hand code this, but I think what you
need is GoLive and an action called Rollover Control that you can purchase
here: http://www.outactions.com/html/index.html

Kathy

> From: thelist-request at lists.evolt.org
> Reply-To: thelist at lists.evolt.org
> Date: Mon, 13 May 2002 18:52:46 -0500 (CDT)
> To: thelist at lists.evolt.org
> Subject: thelist digest, Vol 1 #2300 - 44 msgs
>
> on 5/13/02 2:11 PM, Adam at adam at hallinteractive.com wrote:
>
>> hey all.
>>
>> quick question.
>>
>> I'm in need of a pre-written javascript that assigns a value to a css link
>> state. ummm that might not make sense... clicking on link "foo" should take
>> the user to the appropriate page and have a visual state that shows the user
>> where they are. so "foo" would be bold and red when the page is foo.html but
>> go to its visited state when "foo2" is clicked. I've seen this for image
>> rollovers is it possible with css?
>>
>> bah...mondays ...here is my css
>>
>> #nav a:link {
>> color: #000033;
>> font-size: 11px;
>> line-height: 0px;
>> font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif;
>> text-decoration: underline;
>> }
>>
>> #nav a:visited {
>> color: red;
>> font-weight: bold;
>> text-decoration: underline;
>> }
>>
>> #nav a:hover {
>> color: #264e66;
>> text-decoration: none;
>> }
>>
>> #nav a:active {
>> color: #808080;
>> text-decoration: none;
>> }
>>
>> I hope someone can make sense of my ramblings...
>> any help would be greatly appreciated!
>>
>> cheers,
>> Adam.
>>
>>
>> <tip type="typography">
>> Avoid setting copy in all caps. Capital letters slow reading speed and take
>> more space than lowercase letters.
>> </tip>
>
> -----
> adam at hallinteractive.com
> http://www.hallinteractive.com




More information about the thelist mailing list