Header fade in : fadeIn « jQuery « JavaScript Tutorial






<html>
  <head>
    <script type="text/javascript" src="js/jquery-1.3.2.js"></script>
    <script type="text/javascript">
    
        $(document).ready(function(){
              $("h1").css("opacity", 1).fadeIn(30).fadeOut(1000);



        });
    </script>


  </head>
  <body>
    <body>
       <div><h1>header 1</h1></div>
    </body>
</html>








30.38.fadeIn
30.38.1.Fade in callback
30.38.2.Fast fade in
30.38.3.Fade in controlled by milliseconds
30.38.4.Slow fade in
30.38.5.Header fade in