$(function () { $('.single-item').slick({ dots: true }); $('.single-item2').slick({ dots: true }); $('.single-item3').slick({ infinite: true, speed: 500, fade: true, cssease: 'linear', autoplay: true }); $('.one-time').slick({ infinite: false, speed: 300, slidestoshow: 7, touchmove: false, slidestoscroll: 1 }); $("#content .in_type li").click(function () { var index = $(this).index(); $(this).addclass("on").siblings().removeclass("on"); $("#content .edit_box .edit_content").eq(index).show().siblings().hide(); }) $("#header .menu>li").hover(function () { var length = $(this).find(".menu2 li").length; if (length != 0) { $(this).find(".menu2").slidedown(); } }, function () { $(this).find(".menu2").slideup(); }) $(".top").click(function () { jquery('html,body').animate({ scrolltop: 0 }, 600); }) $(".aside li").hover(function () { $(this).find(".code").show(); $(this).find(".tel").animate({ "right": "0", "opacity": "1" }); }, function () { $(this).find(".code").hide(); $(this).find(".tel").animate({ "right": "-306px", "opacity": "0" }); }) $(".aside .pack").click(function () { $(".aside").animate({ "right": "-86px" }, 500); $(".aside .develop").animate({ "right": "86px" }, 800); }) $(".aside .develop").click(function () { $(".aside .develop").animate({ "right": "0" }, 500); $(".aside").animate({ "right": "0" }, 500); }) $(".job").each(function (i) { $(this).find(".job_content ul li").each(function () { var href = $(this).find("a").attr("href") $(this).find("a").attr("href", href + i) var aria = $(this).find("a").attr("aria-controls") $(this).find("a").attr("aria-controls", aria + i) }) $(this).find(".tab-content div.tab-pane").each(function () { var id = $(this).attr("id") $(this).attr("id", id + i) }) }) jquery(".footer_meassage .slidetxtbox").slide({}); new wow().init(); })