애니메이션 스킨 높이 지정 스크립트 추가

This commit is contained in:
chicpro
2013-11-27 10:00:27 +09:00
parent 1a0cc8c432
commit 82b294b54f
5 changed files with 40 additions and 3 deletions

View File

@ -117,11 +117,20 @@ if($i == 1) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\
var $smt = this.find("ul.sct_ul");
var $smt_a = $smt.find("a");
var width = $smt.eq(0).width();
var height = 0;
var count = $smt.size();
var c_idx = smt_o_idx = 0;
var fx = null;
var el_id = this[0].id;
$smt.each(function() {
var h = $(this).height();
if(h > height)
height = h;
});
this.height(height);
// 기본 설정값
var settings = $.extend({
interval: 6000,