Hi,
I am using an external stylesheet to control the background image on mouseover and mouseout events. Is there anyway I can change the background image on an onClick event?? Also will I lose the effect of mouseOver if i put code in?
Here is the code:
<table width="115px">
<tr class = "backgroundPic" onmouseover="this.className='backgroundPicChg'" onmouseout="this.className='backgroundPic'" >
<td height = "40" onclick="parent.main.location.href ='home.asp'" ><a style="display:block";>Home</a></td></tr>
<%
rsAddLinks.MoveNext
Loop
%>
</table>
I'd be grateful for any help on this.
Thank You,
Ciarrai
I am using an external stylesheet to control the background image on mouseover and mouseout events. Is there anyway I can change the background image on an onClick event?? Also will I lose the effect of mouseOver if i put code in?
Here is the code:
<table width="115px">
<tr class = "backgroundPic" onmouseover="this.className='backgroundPicChg'" onmouseout="this.className='backgroundPic'" >
<td height = "40" onclick="parent.main.location.href ='home.asp'" ><a style="display:block";>Home</a></td></tr>
<%
rsAddLinks.MoveNext
Loop
%>
</table>
I'd be grateful for any help on this.
Thank You,
Ciarrai