토글 및 메뉴 나오게 기능 수정
This commit is contained in:
@@ -66,6 +66,7 @@
|
||||
$(document).ready(function(){
|
||||
// 로그인 메뉴 활성화
|
||||
let check_state = 0;
|
||||
|
||||
$(".login__section .user__nav__open").click(function(){
|
||||
if(check_state != 0){
|
||||
$(this).find("span").attr("uk-icon","icon: triangle-down");
|
||||
@@ -78,18 +79,18 @@
|
||||
});
|
||||
|
||||
// 메뉴 토글
|
||||
{#$(".menu__open").click(#}
|
||||
{# $(".menu__wrap").hide()#}
|
||||
{##}
|
||||
{# $('.menu__wrap').toggle('slide', {#}
|
||||
{# direction: 'right'#}
|
||||
{# }, 400)#}
|
||||
{#);#}
|
||||
{##}
|
||||
{#$('.menu__close').click(#}
|
||||
{# $('.menu__wrap').toggle('slide', {#}
|
||||
{# direction: 'right'#}
|
||||
{# }, 400)#}
|
||||
{#);#}
|
||||
});
|
||||
$(".menu__open").click(function() {
|
||||
$(".menu__wrap").show();
|
||||
$(".nav__div").animate({"right":"-68px"}, 300, function(){
|
||||
$(".menu__wrap").animate({"right":"0"}, 700);
|
||||
});
|
||||
});
|
||||
|
||||
$('.menu__close').click(function() {
|
||||
$(".menu__wrap").animate({"right":"-440px"}, 700, function(){
|
||||
$(".menu__wrap").hide();
|
||||
$(".nav__div").animate({"right":"0"}, 300);
|
||||
});
|
||||
});
|
||||
})
|
||||
</script>
|
||||
Reference in New Issue
Block a user