locked
ASP:Menu help--Different image when mouse over RRS feed

  • Question

  • Hello,
     I'm having trouble finding out how to display a different image in a menu when the user moves their mouse over it.

    For example, this is what I've got to display static images:

    <asp:menu ID="Menu1" runat="server" BorderStyle="None">

    <Items>

    <asp:MenuItem ImageUrl="~/Images/homebtn3.jpg" NavigateUrl="~/default.aspx"></asp:MenuItem>

    <asp:MenuItem ImageUrl="~/Images/projectsbtn3.jpg" NavigateUrl="~/projects.aspx"></asp:MenuItem>

    </Items>

    </asp:menu>

    I'd like to make it so when the user moves their mouse over the menu buttons a different image (homebtn4.jpg, projectsbtn4.jpg) will be displayed...Or the current images could have their shading changed, whatever's easier?  Thanks!!

    • Moved by nobugz Tuesday, July 22, 2008 3:37 AM forums.asp.net
    Monday, July 21, 2008 8:30 PM

Answers