W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2003

Re: Javascript Image Roll-over

From: Andrew Kirkpatrick <andrew_kirkpatrick@wgbh.org>
Date: Thu, 16 Jan 2003 07:23:18 -0500
To: w3c-wai-ig@w3.org
Message-id: <BA4C0E66.D3C6%andrew_kirkpatrick@wgbh.org>

Nice.  Thanks for the link.  Ideally all browsers will support CSS well
enough to do more things like this, but until then it is worth knowing that
if you "need" rollover effects in other browsers to be triggered from the
keyboard that onfocus and onblur can be used in addition to onmouseover and
onmouseout.

AWK



On 1/15/03 6:09 PM, "Joe Clark" <joeclark@joeclark.org> wrote:

>>> And yes, it's pretty much a wank to use JavaScript for these functions.
>> 
>> I've been unable to get a:hover or a:focus to modify the properties of a
>> different element, which is often done with javascript.  For example, you
>> roll over or tab to a button and to the right of the button a related image
>> appears (naturally, this related image is useful for understanding the
>> content of the button).
>> 
>> Does anyone have any examples of making something like this work without
>> javascript/with CSS?
> 
> Pure-CSS popups, baby!
> 
> <http://www.meyerweb.com/eric/css/edge/popups/demo.html>
> 
> If extreme backward compatibility is an issue, using JavaScript for
> this purpose, but not really for typography of links, ceases to be a
> wank.

-- 
Andrew Kirkpatrick
CPB/WGBH National Center for Accessible Media
125 Western Ave.
Boston, MA  02134
E-mail: andrew_kirkpatrick@wgbh.org
Web site: ncam.wgbh.org

617-300-4420 (direct voice/FAX)
617-300-3400 (main NCAM)
617-300-2489 (TTY)

WGBH enriches people's lives through programs and services that educate,
inspire, and entertain, fostering citizenship and culture, the joy of
learning, and the power of diverse perspectives.
Received on Thursday, 16 January 2003 07:23:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:08 GMT