0 Replies Latest reply on Mar 2, 2010 10:08 PM by gwhPoster

    Rollover moving up one pixel

    gwhPoster Level 1

      Hi everyone,

       

      I have the following swapImage behaviours. The code below shows just two rows but there are about 8 rows. The problem is that when I test by rolling my mouse over the image in the first row, when the onmouseover behaviour is triggered, the swapped image moves up at least 1 pixel. The second and subsequent rows don't do this.

       

       

                          <tr>

                <td><a href="fnd_solutions/file1.pdf" target="_blank" onmouseover="MM_swapImage('intro','','fnd_images/intro_over.gif',1)" onmouseout="MM_swapImgRestore()"><img src="fnd_images/intro.gif" name="intro" width="403" height="35" border="0" id="intro" /></a></td>

                  </tr>

       

                <tr>

                <td><a href="fnd_solutions/file2.pdf" target="_blank" onmouseover="MM_swapImage('fbt','','fnd_images/fbt_over.gif',1)" onmouseout="MM_swapImgRestore()"><img src="fnd_images/fbt.gif" name="fbt" width="403" height="35" border="0" id="fbt" /></a></td>

                  </tr>

       

      I know for sure that both the original and rollover image are the same height so I don't know why it's shifting. Can anyone see if there's anything different between the code in the above two rows or why this might be happening?

       

      Appreciate any help.