$(document).ready(function () { $('.submn-tit h2').addClass('wow fadeInDown'); $('.submn-tit p').addClass('wow fadeInDown'); // $('.submn').addClass('animated wow fadeIn'); $('.formmail_cell_bgcolor a img').attr({src:"https://donghaee.cafe24.com/default/img/yeogi/css/btn_zip.png"}); }); $(document).ready(function () { //슬릭슬라이더 $('.slider-screen').slick({ slidesToShow: 1, slidesToScroll: 1, arrows: false, fade: true, asNavFor: '.slider-navbar' }); $('.slider-navbar').slick({ slidesToShow: 8, slidesToScroll: 1, asNavFor: '.slider-screen', responsive: [ { breakpoint: 991, settings: { slidesToShow: 6, slidesToScroll: 6, } }, { breakpoint: 580, settings: { slidesToShow: 4, slidesToScroll: 4, } } ], focusOnSelect: true, prevArrow: $('.sprev'), nextArrow: $('.snext') }); $('.navlist').click(function () { $(this).addClass('active').siblings().removeClass("active"); }); //공지사항바 $('.board_output .board_output').addClass('swiper-container notice-container'); $('.board_output .board_output>tbody').addClass('swiper-wrapper'); $('.board_output_3_tr').addClass('swiper-slide'); var swiper1 = new Swiper('.notice-container', { direction: "vertical", slidesPerView: 1, slidesPerGroup: 1, centeredSlides: true, loop: true, autoplay: true, loopFillGroupWithBlank: true, // navigation: { // nextEl: '.swiper-button-next', // prevEl: '.swiper-button-prev', // }, }); }); function myFunction1(imgs) { // Get the expanded image var expandImg = document.getElementById("expandedImg1"); // Get the image text var imgText = document.getElementById("imgtext1"); // Use the same src in the expanded image as the image being clicked on from the grid expandImg.src = imgs.src; // Use the value of the alt attribute of the clickable image as text inside the expanded image imgText.innerHTML = imgs.alt; // Show the container element (hidden with CSS) expandImg.parentElement.style.display = "block"; }