Trying to add image rollover for LinkButton in ascx table
Posted on 2003-11-18
I have a custom control that has a menu with a HyperLink in each cell. It works great, but I would like to have the image flip on mouse over. Here is the HTML for one of the cells:
<asp:TableCell HorizontalAlign="Center" ID="cellHome" style="Display:">
<asp:HyperLink runat="server" NavigateUrl="Home.aspx" ForeColor="#291C52"
ID="lnkHome"> <img src="Images/home.jpg" border="0"></asp:HyperLink> </asp:TableCell>
I cannot add an onMouseOver event. For instance, when the user drags the mouse over this cell in the menu, I would like the image to be home_down.jpg instead.
can someone help? Thanks so much!