$(function(){ $(".nav li").hover(function(){ $(this).children(".nav_down").stop(true,true).slideDown(100); },function(){ $(this).children(".nav_down").stop(true,true).slideUp(0); }) }) $(function(){ $(".ny_menu ul li").hover(function(){ $(this).children(".ny_down").stop(true,true).slideDown(100); },function(){ $(this).children(".ny_down").stop(true,true).slideUp(0); }) }) $(function () { $(".phone-subnav ul li .menu").click(function () { $(this).toggleClass("active").parent().siblings().children(".menu").removeClass("active") $(this).parent().children("div").slideToggle().parent() .siblings().children("div").slideUp() }) $(".phone-nav").click(function () { $(".phone-subnav").slideToggle() }) $(".close").click(function () { $(".phone-subnav").slideUp(300) }) }) $(document).ready(function() { $(".toptel a").click(function() { $(".telbox").toggle(300); }) }); $(document).ready(function() { $(".topsearch a").click(function() { $(".searmain").toggle(300); }) }); if($(window).width()>1400){ $(function(){ $(".rfgy ul li").hover(function(){ $(this).find(".show").stop(true,true).fadeOut(); $(this).find(".hide").stop(true,true).fadeIn(); },function(){ $(this).find(".show").stop(true,true).fadeIn(); $(this).find(".hide").stop(true,true).fadeOut(); }) }) } $(function(){ $(".copyr .fr span").hover(function(){ $(this).find(".hide").stop(true,true).show(); $(this).find(".show").stop(true,true).hide(); },function(){ $(this).find(".show").stop(true,true).show(); $(this).find(".hide").stop(true,true).hide(); }) }) $(document).ready(function() { $('.box .tit:first').addClass('active'); $('.box .tit').click(function() { $(this).next('.box .txt').slideToggle() .siblings('.box .txt').slideUp(); $(this).toggleClass('active') .siblings('.box .tit').removeClass('active'); }); }); $(".list_dt").on("click", function () { $('.list_dd').stop(); $(this).siblings("dt").removeAttr("id"); if ($(this).attr("id") == "open") { $(this).removeAttr("id").siblings("dd").slideUp(); } else { $(this).attr("id", "open").next().slideDown().siblings("dd").slideUp(); } }); $(".active").parent().parent().parent().parent("li").addClass("aa_bj");