JQuery slideDown Method Example Code | slideDown usage in JQuery

JQuery slideDown Method Example


Using this slideDown JQuery Effect, we can create a slide for the divison. Also, we can call back a function using this slideDown method.

syntax: slideDown(speed, *callback);

* - indicates optional


Sample Code:
    $(document.body).click(function () {
      if ($("div:first").is(":hidden")) {
        $(".SlideShownClass").slideDown("slow");
      } else {
        $(".SlideShownClass").hide();
      }
    });
 
 
 



See More JQuery Effects and JQuery Interview Questions




 
Share this post :

Post a Comment

Please give your valuable feedback on this post. You can submit any ASP.NET article here. We will post that article in this website by your name.

 
Support : Ranga Rajesh Kumar
Copyright © 2012. ASP.NET Examples - All Rights Reserved
Site Designed by Ranga Rajesh Kumar