simple jquery menu animation using || menu Animation using JQuery in

The following article is showing about menu designing using JQuery in

Onething you should remember that, if you use jQuery related coding in your web page then you must add jQuery.js file must be included in that page.

Here, you just include the following Script in your web page.

<script src="" type="text/javascript">  

Create a Web Form named as "JqueryMenu.aspx".
You should include the images in "Images" Folder Path, which you want to use in your page.

Copy and paste the following code in your .aspx section.

<html xmlns="">
<head runat="server">

    <style type="text/css">
            border:1px solid black;
            padding:1px 1px 1px 1px;
        a { color:Whitefont-family:Tahoma; }

    <script type="text/javascript" src=""></script>

JQuery Function for animated menu:

    <script type="text/javascript">
        $(function () {
            $("ul.level1 li").hover(function () {
                $(this).stop().animate({ opacity: 1.7, width: "270px" }, "slow");
            }, function () {
                $(this).stop().animate({ opacity: 2, width: "170px" }, "slow");

In Body Section:

    <form id="form1" runat="server">

                <asp:Image ID="Image1" runat="server" Height="137px"
                    ImageUrl="~/abstract-background.jpg" Width="942px" />
        <asp:Menu ID="Menu1" runat="server" Orientation="Horizontal"RenderingMode="List"
                    BackColor="White" DynamicHorizontalOffset="2" Font-Names="Verdana"
                    Font-Size="Large" ForeColor="Red" StaticSubMenuIndent="10px"
                    Font-Bold="True" Font-Italic="True" BorderColor="Blue"
                    BorderStyle="Double" Font-Overline="True">           
            <DynamicHoverStyle BackColor="#990000" ForeColor="White" />
            <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
            <DynamicMenuStyle BackColor="#FFFBD6" />
            <DynamicSelectedStyle BackColor="#FFCC66" />
                <%# Eval("Text"%>
                <asp:MenuItem NavigateUrl="~/Home.aspx" ImageUrl="~/home.jpg"Text="Home"
                    Value="Home" PopOutImageUrl="~/contactus.png"  />
                <asp:MenuItem NavigateUrl="~/About us.aspx" ImageUrl="~/about us.png"
                    Text="About Us" Value="AboutUs" />
                <asp:MenuItem NavigateUrl="~/product.aspx" ImageUrl="~/pro.jpg"
                    Text="Products" Value="Products" />
                <asp:MenuItem NavigateUrl="~/contact us.aspx" ImageUrl="~/contactus.png"
                    Text="Contact Us" Value="ContactUs" />
            <StaticHoverStyle BackColor="#990000" ForeColor="White" />
            <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
            <StaticSelectedStyle BackColor="#FFCC66" />

Then run the application and see the Output Like the below: