Globally disable all animations : fx « jQuery « JavaScript DHTML






Globally disable all animations

   
<html>
  <head>
    <script type="text/javascript" src="js/jquery-1.3.2.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            
               jQuery.fx.off = true;
               $("div").toggle("slow");
       

        });
    </script>
  <style>
  div { 
    position: absolute; 
    display:none;
  }
  </style>

    
  </head>
  <body>
    <body>
        <div>asdf</div>

    </body>
</html>

   
    
    
  








Related examples in the same category