From 0cac51e1dd4f5447841b5762663ebdaf61168097 Mon Sep 17 00:00:00 2001 From: iotcat Date: Fri, 11 Mar 2022 11:28:25 +0800 Subject: [PATCH] boll --- effect.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/effect.js b/effect.js index 163e128..6320cab 100755 --- a/effect.js +++ b/effect.js @@ -132,7 +132,7 @@ $('document').ready(function(){ }); $('#light_candle').click(function(){ - $('.fuego').fadeIn('slow'); + $('.fuego').fadeIn(3000); $(this).fadeOut('slow').promise().done(function(){ $('#wish_message').fadeIn('slow'); }); @@ -178,8 +178,8 @@ $('document').ready(function(){ i=i+1; $("p:nth-child("+i+")").fadeIn('slow').delay(1000); if(i== $("#message_row").children("p").length){ - $("p:nth-child("+i+")").delay(4000).fadeOut('slow').promise().done(function () { - $('.cake').delay(400).fadeIn('slow'); + $("p:nth-child("+i+")").delay(6000).fadeOut('slow').promise().done(function () { + $('.cake').delay(1000).fadeIn('slow'); }); }