This function changes the background color of one or more DIVs or SPANs.
Usage: WM_swapLayerBgcolor('layerName1','newColor1','layerName2','newColor2', ...);
Example: <a href="#" onMouseOver="WM_swapLayerBgcolor('myDiv', 'red', 'myOtherDiv', 'green');" onMouseOut="WM_swapLayerBgcolor('myDiv', 'blue', 'myOtherDiv', 'yellow');"><img name="myImg" src="off.gif"></a>
Requires: WM_checkin()
License: Webmonkey
Public License
Cut, paste, and enjoy!
Feedback
|
Help
|
About Us
|
Contribute
|
Jobs
Advertise
|
Privacy Statement
|
Terms and Conditions
Copyright
© 1994-2000 Wired Digital Inc., a Lycos Network site. All rights reserved.