Click here to Skip to main content
15,908,111 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
plz help me. i can not understand how to create it
Posted
Updated 6-Jul-14 21:21pm
v2
Comments
Thanks7872 7-Jul-14 3:21am    
And we can not understand this post. Elaborate your question with what you are trying to do and what have you tried till now. Use improve question button at bottom of your question.

See also this part
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="Scripts/jquery-2.1.1.min.js"></script>
    <style>
        .BarMenu {
            padding: 7px 10px 6px 10px;
            background-color: green;
            opacity: .4;
            margin-bottom: 2px;
            width: 100%;
        }

            .BarMenu:hover {
                opacity: 1;
            }

        .BarMenuDetails {
            padding: 7px 10px 6px 10px;
            width: 100%;
            background-color: #f6f6f6;
            height: 200px;
            overflow: auto;
            overflow-y: hidden;
            display: none;
        }
    </style>
    <script>
        $(document).ready(function () {
            $("#divControl").click(function () {
                $("#divControlDetails").slideToggle(3000);
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <div style="width: 20%; float: left;">
                <div id="divControl" class="BarMenu">User Controls</div>
                <div id="divControlDetails" class="BarMenuDetails">
                    <div>Test1</div>
                    <div>Test1</div>
                    <div>Test1</div>
                    <asp:treeview id="TreeView1" runat="server" xmlns:asp="#unknown"></asp:treeview> 
                </div>
                <div id="divAdmission" class="BarMenu">Admission</div>
                <div id="divAdmissionDetails" class="BarMenuDetails"> 
                    <asp:treeview id="TreeView2" runat="server" xmlns:asp="#unknown"></asp:treeview>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
 
Share this answer
 
 
Share this answer
 
Comments
Member 10385151 8-Jul-14 3:20am    
Thanks
Maciej Los 8-Jul-14 4:58am    
You're welcome ;)
Member 10385151 9-Jul-14 1:01am    
its ok for single menu but i need menu like treeview process ?plz

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900