Fade to in milliseconds : fadeTo « jQuery « JavaScript DHTML






Fade to in milliseconds

   

<html>
  <head>
    <script type="text/javascript" src="js/jquery-1.3.2.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            $("div").fadeTo(250, Math.random());
        });
    </script>
  </head>
  <body>
    <body>
          <div>Click me</div>
    </body>
</html>

   
    
    
  








Related examples in the same category

1.Fade to a certain opacity
2.Fade to callback
3.Fast fade to
4.Fade to random
5.Slow fade to
6.fadeTo(speed, opacity, callback): Only the opacity is adjusted for this animation