Explorar o código

Listing 4.8: slow show().

Frederic G. MARAND %!s(int64=8) %!d(string=hai) anos
pai
achega
90452fb07f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Chapter 4/04.js

+ 1 - 1
Chapter 4/04.js

@@ -21,7 +21,7 @@ $(document).ready(function () {
   $('p').eq(1).hide();
   $('a.more').click(function (event) {
     event.preventDefault();
-    $('p').eq(1).show();
+    $('p').eq(1).show('slow');
     $(this).hide();
   });
 });