Monday 14 January 2013

Sliding panel in asp.net with jquery

Sometimes we need a beautiful panel which slides up and down for better look.

Let's see how can we achieve it with simple jquery.

<script>
    function slideUp(){
            $("#<%= myPanel.ClienID %>").slideUp(); //myPanel is panel ID in aspx page.
    }
    function slideDown(){
            $("#<%= myPanel.ClienID %>").slideDown();
    }
</script>

No comments:

Post a Comment