Slow fade out : fadeOut « jQuery « JavaScript DHTML






Slow fade out

   

<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).fadeOut("slow");

               });


        });
    </script>

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


    </body>
</html>

   
    
    
  








Related examples in the same category

1.Fade out this
2.Fast fade out
3.Fade out in milliseconds
4.Fade out show
5.fadeOut(speed, callback): Only the opacity is adjusted for this animation