显示与隐藏 案例1-1 <script> s(function( S(a). click(function i $("a").html("隐藏"); s(img) show(3000, function[ s(this). css(border, solid 1px #ccc") s(img"). click(function[ s(this). hide (3000) $("a").htm1("显示"); </script>显示与隐藏 案例1-1: <script> $(function(){ $("a").click(function(){ $("a").html("隐藏"); $("img").show(3000,function(){ $(this).css("border","solid 1px #ccc"); }) }) $("img").click(function(){ $(this).hide(3000); $("a").html("显示"); }) }) </script>