Explorar el Código

Listing 4.8: slow show().

Frederic G. MARAND hace 8 años
padre
commit
90452fb07f
Se han modificado 1 ficheros con 1 adiciones y 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();
   });
 });