Mega Code Archive

 
Categories / JavaScript Tutorial / JQuery
 

Animates divs between dividers with a toggle that makes some appear and some disappear

< html>   <head>     <script type="text/javascript" src="js/jquery-1.3.2.js"></script>     <script type="text/javascript">         $(document).ready(function(){             $("button").click(function () {               $("div:not(.still)").slideToggle("slow", function () {                                                });             });         });     </script>   </head>   <body>     <body>         <button>Toggle</button>         <div>asdf</div>     </body> </html>