Re: Javascript Image Roll-over

Or the CSS equivalent of providing :focus and :hover rules.

  a:focus, a:hover { background-color: yellow }

(Makes for nice clean code, not that I like editing code in the first 
place)

Cheers

Chaals

On Wednesday, Jan 15, 2003, at 01:15 Australia/Melbourne, Andrew 
Kirkpatrick wrote:

>
> I think that it is worth the trouble to include onfocus and onblur 
> event
> handlers to trigger the same script as onmouseover and onblur.  It may 
> not
> be blurring the line between accessibility and usability, but for 
> sighted
> keyboard users it does help in tracking the focus.  You can see a 
> simple
> example of this at http://ncam.wgbh.org.
>
> AWK
>
>>>
>>> At 03:12 PM 01/13/2003, Matthew Smith wrote:
>>>> However, what's bugging me is the need to provide an alternative
>>>> handler; is this really necessary when the function itself doesn't
>>>> actually do anything worthwhile?
--
Charles McCathieNevile           charles@sidar.org
Fundación SIDAR                       http://www.sidar.org

Received on Tuesday, 14 January 2003 14:46:18 UTC