
February 6th, 2013, 07:28 PM
|
|
Registered User
|
|
Join Date: Feb 2013
Posts: 2
Time spent in forums: 13 m 5 sec
Reputation Power: 0
|
|
|
New Member - Mouseover problem
The following "up" and "down" arrows work in an html document. Initially they show as a blue arrow and change to green on mouseover.
This first code has the arrow pointing "down" and the arrow changes to green on mouseover.
<a onmouseover="SwitchImg('document.arrow','document.arrow','images/greenarrow.gif')" onmouseout="RestoreImg()" href="#bottom"><img border="0" name="arrow" alt="Click" src="images/bluearrow.gif" width="23" height="32">
This code has the arrow pointing up, it works but the image does not change color on mouseover. I've double checked the spelling of all the gifs.
<a onmouseover="SwitchImg('document.arrow','document.arrow','images/greenarrowup.gif')" onmouseout="RestoreImg()" href="#top"><img border="0" name="arrow" alt="Click" src="images/bluearrowup.gif" width="23" height="32"></a>
Thank you, any help would be appreciated.
|