The only way I can think of doing it off the top of my head is to use some
ecma and css

onfocus="this.className="onState"

onblur="this.className="offState"


.onState{
background: url(yourimageslocation/btn_onState.gif) no-repeat top left
}

.offState{
background: url(yourimageslocation/btn_offState.gif) no-repeat top left
}

and change the background image

-----Original Message-----
From: Jaime Wong [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 18, 2004 8:59 PM
To: WSG - CSS List
Subject: [WSG] Making Dreamweaver's Rollover JS accessible

 
Dreamweaver' common set of JS for rollover images are using 'onmouseover' i
e. MM_swapImage JS.

I wanted to make it more accessible by using 'onfocus=' but I do not know
how to work around it so that the JS will work.

Does anyone know where I could get some resources on this? 


With Regards
Jaime Wong
~~~~~~~~~~~~~~~~~~~~~~~~~~
SODesires Design Team
http://www.sodesires.com
~~~~~~~~~~~~~~~~~~~~~~~~~~
 

*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
***************************************************** 





*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
***************************************************** 

Reply via email to