puffnstuff
02-21-2007, 01:14 PM
Hi. I am brand new to website development. I know basic HTML and VERY basic CSS for font styling. What I need to do is create a group of images, which, when moused-over, will do 2 things at once: The image will light up, and at the same time a 2nd image will appear in a different location on the screen.
I have successfully done the "light-up" effect using Javascript (I think), pre-loading the lit-up images, and using a mouseover swap such as the one below:
<td height="56" width="56"><a href="/Products/IBeam.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Ibeam','','/images/Products/Ibeam-lite.gif',1)"><img name="Ibeam" border="0" src="/images/Products/Ibeam-dark.gif" width="51" height="50"></a></td>
How can I also make a 2nd (completely different) image appear in another column of the table? Is there a simple CSS I can add to do this? I have about 25 images on the screen, so a different picture will need to display, depending on which image the user is pointing to.
I have successfully done the "light-up" effect using Javascript (I think), pre-loading the lit-up images, and using a mouseover swap such as the one below:
<td height="56" width="56"><a href="/Products/IBeam.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Ibeam','','/images/Products/Ibeam-lite.gif',1)"><img name="Ibeam" border="0" src="/images/Products/Ibeam-dark.gif" width="51" height="50"></a></td>
How can I also make a 2nd (completely different) image appear in another column of the table? Is there a simple CSS I can add to do this? I have about 25 images on the screen, so a different picture will need to display, depending on which image the user is pointing to.