Fast slide toggle : slideToggle « jQuery « JavaScript DHTML






Fast slide toggle

    
<html>
  <head>
    <script type="text/javascript" src="js/jquery-1.3.2.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){

               $("button").click(function () {
                  $(this).slideToggle("fast");
               });


        });
    </script>

  </head>
  <body>
    <body>
          <div>Click me<button>button</button></div>


    </body>
</html>

   
    
    
    
  








Related examples in the same category

1.Slide animation
2.Slide toggle and function
3.Slide toggle button
4.Slide toggle callback
5.Slide toggle in milliseconds
6.Slide toggle slow
7.slideToggle(speed, callback): height is adjusted