From e377355ef15f0d4f71bdc2b2ec7534827680b28c Mon Sep 17 00:00:00 2001 From: whitedot Date: Fri, 28 Mar 2014 11:15:32 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90:=20cheditor5.1=20?= =?UTF-8?q?=EC=A0=84=EC=B2=B4=ED=99=94=EB=A9=B4=20=EB=AA=A8=EB=93=9C=20?= =?UTF-8?q?=EB=8C=80=EC=9D=91=EC=9D=84=20=EC=9C=84=ED=95=9C=20hd=20z-index?= =?UTF-8?q?=20css/js=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default.css | 3 ++- js/jquery.menu.js | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/css/default.css b/css/default.css index 48f8a0fcb..36942d8a3 100644 --- a/css/default.css +++ b/css/default.css @@ -31,7 +31,8 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline} .hd_pops_footer button {margin-right:5px;padding:5px 10px;border:0;background:#393939;color:#fff} /* 상단 레이아웃 */ -#hd {z-index:10;position:relative;min-width:970px;background:#fff} +#hd {z-index:4;position:relative;min-width:970px;background:#fff} +.hd_zindex {z-index:10 !important} #hd_h1 {position:absolute;font-size:0;line-height:0;overflow:hidden} #hd_wrapper {position:relative;margin:0 auto;padding:26px 0;width:970px;zoom:1} #hd_wrapper:after {display:block;visibility:hidden;clear:both;content:""} diff --git a/js/jquery.menu.js b/js/jquery.menu.js index 7969c4a25..a05b03de6 100644 --- a/js/jquery.menu.js +++ b/js/jquery.menu.js @@ -18,6 +18,7 @@ $(function(){ var $gnb = $(".gnb_1dli > a"); $gnb.mouseover(function() { if(mouse_event) { + $("#hd").addClass("hd_zindex"); $(".gnb_1dli").removeClass("gnb_1dli_over gnb_1dli_over2 gnb_1dli_on"); $(this).parent().addClass("gnb_1dli_over gnb_1dli_on"); menu_rearrange($(this).parent()); @@ -38,6 +39,7 @@ $(function(){ }); $gnb.focusin(function() { + $("#hd").addClass("hd_zindex"); $(".gnb_1dli").removeClass("gnb_1dli_over gnb_1dli_over2 gnb_1dli_on"); $(this).parent().addClass("gnb_1dli_over gnb_1dli_on"); menu_rearrange($(this).parent()); @@ -71,6 +73,7 @@ $(function(){ }); function submenu_hide() { + $("#hd").removeClass("hd_zindex"); $(".gnb_1dli").removeClass("gnb_1dli_over gnb_1dli_over2 gnb_1dli_on"); }