<html> <head> <script type="text/javascript" src="js/jquery-1.3.2.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#showHandler").click(function () { $("div:eq(0)").show("fast", function () { $(this).next().show("fast", arguments.callee); }); }); $("#hideHandler").click(function () { $("div").hide(2000); }); }); </script> </head> <body> <body> <button id="showHandler">Show</button> <button id="hideHandler">Hide</button> <div>A</div> <div>B</div> <div>C</div> <div>D</div> </body> </html>