PDA

View Full Version : Multiple ImageSwap onHover???


SilentDrive
06-27-2005, 08:16 PM
Is it possible to set the below code to swap two or more images when hovered on one? Thanks

<a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Name','','ImageFile.jpg',1)">

mrruben5
06-27-2005, 08:30 PM
That's a javascript question. Please post in the appropiate forum, or show us a link or the source to or from your page, so we can do it for css.

[m] at
06-27-2005, 09:48 PM
Just run the function twice

<a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Name','','ImageFile.jpg',1); MM_swapImage('Name2,'',ImageFile2.jpg',1);">