모바일 상품상세 하단 플로팅 메뉴 제거

This commit is contained in:
chicpro
2013-10-18 17:33:53 +09:00
parent 134e508160
commit b3d971538c
4 changed files with 40 additions and 71 deletions

View File

@ -105,7 +105,19 @@
.clearQueue()
.stop()
.css({ top: element_y+"px", display: "block" })
.animate({ top: "-="+height }, cfg.duration, function() { $this.data("animated", false); });
.animate({ top: "-="+height }, cfg.duration,
function() {
$this.data("animated", false);
scroll_y = $(window).scrollTop();
w_height = $(window).height();
var temp_y = scroll_y + w_height - height;
if( temp_y != element_y) {
$this.css("top", temp_y+"px");
}
}
);
},
show: function()
{