/* ----------------- ¸ÞÀκñÁÖ¾ó ----------------- */ $(document).ready(function() { var swiper = new Swiper('.websre_main', { autoplay: { delay: 555500, disableOnInteraction: false, }, speed:700, spaceBetween: 0, effect: 'slide', loop: true, /*pagination: { el: '.swiper-pagination', clickable: true, },*/ navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, on: { init: function () { jQuery('.swiper-container.websre_main').css('opacity','1'); var swiper_text = jQuery('.swiper-container.websre_main .swiper-slide-active .swiper_text').text(); var swiper_text = swiper_text.split("¡á"); var background_color = swiper_text[1]; //var imgUrl = swiper_text[0]; //jQuery(".swiper-container.websre_main .swiper-slide-active .swiper_text_add").attr("src","imgUrl"); jQuery('#mainVisual').css("background-image", "url("+background_color+")"); }, slideChangeTransitionStart: function () { var swiper_text = jQuery('.swiper-container.websre_main .swiper-slide-active .swiper_text').text(); var swiper_text = swiper_text.split("¡á"); var background_color = swiper_text[1]; //var imgUrl = swiper_text[0]; //jQuery(".swiper-container.websre_main .swiper-slide-active .swiper_text_add").attr("src","imgUrl"); jQuery('#mainVisual').css("background-image", "url("+background_color+")"); //console.log(background_color) }, }, }); //main 6´ëÇ¥Áø·á¹è³Ê $('#section0 ul.over li').mouseover(function(){ if(isPC() === true) { $(this).addClass('over'); $(this).css('width','25%'); $(this).siblings('li').css('width','22.3%'); } }); $('#section0 ul.over li').mouseleave(function(){ if(isPC() === true) { $(this).removeClass('over'); $(this).css('width','23%'); $(this).siblings('li').css('width','23%'); } }); $('#section0 ul.no-over li').mouseover(function(){ if(isPC() === true) { $(this).addClass('over'); $(this).css('width','50%'); $(this).siblings('li').css('width','46%'); } }); $('#section0 ul.no-over li').mouseleave(function(){ if(isPC() === true) { $(this).removeClass('over'); $(this).css('width','48%'); $(this).siblings('li').css('width','48%'); } }); // À©µµ¿ì ¸®»çÀÌ¡ ó¸® 4´ëÇ¥Áø·á¹è³Ê $(window).bind('resize', function() { var $winWidth = $(this).width(); if($winWidth < 1024) { $("#section0 ul li").removeAttr('style'); } else { } }); var swiper = new Swiper('.main_doc', { autoplay: { delay: 555500, disableOnInteraction: false, }, speed:700, spaceBetween: 0, effect: 'fade', loop: true, /*pagination: { el: '.swiper-pagination', clickable: true, },*/ pagination: { el: ".swiper-pagination", type: "fraction", }, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, on: { init: function () { jQuery('.swiper-container.websre_main').css('opacity','1'); var swiper_text = jQuery('.swiper-container.main_doc .swiper-slide-active .swiper_text').text(); var swiper_text = swiper_text.split("¡á"); var background_color = swiper_text[1]; //var imgUrl = swiper_text[0]; //jQuery(".swiper-container.websre_main .swiper-slide-active .swiper_text_add").attr("src","imgUrl"); jQuery('#docVisual').css("background-image", "url("+background_color+")"); }, slideChangeTransitionStart: function () { var swiper_text = jQuery('.swiper-container.main_doc .swiper-slide-active .swiper_text').text(); var swiper_text = swiper_text.split("¡á"); var background_color = swiper_text[1]; //var imgUrl = swiper_text[0]; //jQuery(".swiper-container.websre_main .swiper-slide-active .swiper_text_add").attr("src","imgUrl"); jQuery('#docVisual').css("background-image", "url("+background_color+")"); //console.log(background_color) }, }, }); }); $(function() { var $elem = $(".fixed_inquiry"); var $height = $elem.find('.inner').height(); // ¿­°í´Ý±â ¹öÆ° Ŭ¸¯½Ã $("#fixedToggle").click(function() { var isClosed = $elem.hasClass('closed'); if(isClosed === false) { $elem.stop(true,true).animate({bottom:0}, 300); //$elem.stop(true,true).animate({right:-($width + 33) + 'px'}, 300); $elem.addClass('closed'); } else { $elem.stop(true,true).animate({bottom:-($height) + 'px'}, 300); $elem.removeClass('closed'); } }); // ÃÖ±Ù º» »óÇ° ¹èºÐÁ¤·Ä ó¸® // if($(".recentList").length > 0) { // $(".recentList").append('
  • '); // } });