fadeOut(speed, callback): Only the opacity is adjusted for this animation : fadeOut « jQuery « JavaScript DHTML






fadeOut(speed, callback): Only the opacity is adjusted for this animation

 

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

        
            $("p").click(function () {
              $("p").fadeOut("slow");
            });


        });
    </script>

  </head>
  <body>
    <body>
<p>
    fade away.
  </p>
    </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.Slow fade out