You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.3 KiB
43 lines
1.3 KiB
if (!(/msie [6|7|8|9]/i.test(navigator.userAgent))){
|
|
new WOW().init();
|
|
};
|
|
|
|
|
|
|
|
if($(window).width() >1040 ){
|
|
|
|
$('.header .naver li').hover(function(){
|
|
|
|
$(".header .naver li .nli").stop().slideUp();
|
|
|
|
$(this).find('.nli').stop().slideDown();
|
|
|
|
},function(){
|
|
|
|
$('.header .naver li .nli').stop().slideUp();
|
|
|
|
})
|
|
|
|
}else {
|
|
|
|
$('.header .naver li h3 i').click(function(){
|
|
|
|
$(this).parents('li').siblings('li').find('.nli').slideUp();
|
|
|
|
$(this).parents('li').find('.nli').slideToggle();
|
|
|
|
$(this).parents('li').siblings('li').find('h3 i').removeClass('on');
|
|
|
|
$(this).toggleClass('on');
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$('.gh').click(function(){
|
|
|
|
$('.naver').slideToggle();
$('.layout').toggleClass('selected')
})
$('.tps').click(function(){$('html,body').animate(
{scrollTop:$('html,body').offset().top}, 1000);});
var swiper = new Swiper('.ulink', {
slidesPerView: 'auto', //横屏屏个数
spaceBetween: 10, //间距
loop: true, //循环
speed:2000,
autoplay: {
delay: 0,
stopOnLastSlide: false, //如果设置为true,当切换到最后一个slide时停止自动切换。(loop模式下无效)。
disableOnInteraction: false, //用户操作swiper之后,是否禁止autoplay。默认为true:停止。
},
observer:true,
observeParents:true,
});
|