Log in

View Full Version : Mouseover



Freeman
03-29-2006, 04:00 PM
<td width="75">
<a onmouseover="MM_swapImage('Information','','
images/Tab9-ov.jpg',1)" onmouseout="MM_swapImgRestore()" href="info.htm" target="main">
<img height="26" src="images/Tab9.jpg" width="75" border="0" name="Information">
</a> </td>
<td width="73">
<a onmouseover="MM_swapImage('Home','','
images/Tab12-ov.jpg',1)" onmouseout="MM_swapImgRestore()" href="home.htm" target="main">
<img src="images/Tab12.jpg" border="0" name="Home" width="61" height="26">
</a> </td>


This isn't working and I don't know why. it looks right to me but i don't know a whole lot. and help would be appreciated. JF

Twey
03-29-2006, 04:05 PM
Probably something to do with those linebreaks in the middle of the function call. Disable text wrapping in your editor (-w switch for pico/nano).

Freeman
03-29-2006, 05:18 PM
I have no idea what that means
you need to have better communication if this relationship is going to work.

Twey
03-29-2006, 05:25 PM
Linebreaks marked in red. Remove them.
<td width="75">
<a onmouseover="MM_swapImage('Information','','ARGH LINEBREAK
images/Tab9-ov.jpg',1)" onmouseout="MM_swapImgRestore()" href="info.htm" target="main">
<img height="26" src="images/Tab9.jpg" width="75" border="0" name="Information">
</a> </td>
<td width="73">
<a onmouseover="MM_swapImage('Home','','ARGH LINEBREAK
images/Tab12-ov.jpg',1)" onmouseout="MM_swapImgRestore()" href="home.htm" target="main">
<img src="images/Tab12.jpg" border="0" name="Home" width="61" height="26">
</a> </td>Clear enough for you? ;-)

Freeman
03-30-2006, 11:53 PM
Clear as air.