From 4159720bd272474f0685e71f174fc905f403e870 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 11 Oct 2013 09:31:52 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A9=94=EB=89=B4=EC=9D=98=20=EB=86=92?= =?UTF-8?q?=EC=9D=B4=EB=A5=BC=20float=5Fmenu=20=ED=95=A8=EC=88=98=EA=B0=80?= =?UTF-8?q?=20=EC=8B=A4=ED=96=89=EB=90=A0=EB=95=8C=EB=8F=84=20=EC=B2=B4?= =?UTF-8?q?=ED=81=AC=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/jquery.floatmenu.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/jquery.floatmenu.js b/js/jquery.floatmenu.js index df60c4eb9..1cea012b6 100644 --- a/js/jquery.floatmenu.js +++ b/js/jquery.floatmenu.js @@ -55,6 +55,7 @@ origin_y = $(window).scrollTop(); timeout = setTimeout(function() { + height = parseInt($menu.height()); scroll_y = $(window).scrollTop(); if(origin_y == scroll_y) { @@ -182,6 +183,7 @@ scroll_y = $(window).scrollTop(); if(origin_y == scroll_y) { + height = parseInt($menu.height()); w_height = $(window).height(); element_y = scroll_y + w_height;