diff --git a/skin/shop/basic/main.50.skin.php b/skin/shop/basic/main.50.skin.php index a3b5ff51e..470f9810a 100644 --- a/skin/shop/basic/main.50.skin.php +++ b/skin/shop/basic/main.50.skin.php @@ -99,10 +99,18 @@ $(function() { var smt_a_time = 800; var smt_delay = 300; var smt_interval = null; + var delay = 0; // 초기실행 - if(smt_count > 0) - item_drop(); + if(smt_count > 0) { + $smt.eq(0).find("div").each(function() { + $(this).delay(delay).animate( + { top: "+="+$smt_height+"px" }, smt_a_time + ); + + delay += smt_delay; + }); + } if(smt_count > 1) smt_interval = setInterval(item_drop, smt_time); @@ -135,7 +143,7 @@ $(function() { }); function item_drop() { - var delay = 0; + delay = 0; $smt.eq(smt_o_idx).css("display", "none"); $smt.eq(smt_o_idx).find("div").css("top", "-"+$smt_height+"px");