$(function () { //banner:start var banswiper = new swiper('.banner .swiper-container', { effect: 'fade', slideactiveclass: 'active', autoplay: { delay: 3000, stoponlastslide: false, disableoninteraction: false, }, speed: 1000, pagination: { el: '.banner .swiper-pagination', clickable: true, renderbullet: function (index, classname) { return '
\n' + '
\n' + '
\n' + '
\n' + '
\n' + '
' + '0' + (index + 1) + '
'; }, }, navigation: { nextel: '.banner .swiper-button-next', prevel: '.banner .swiper-button-prev', } }); //lang:start $(".lang").hover(function () { $(this).find("ul").addclass("on"); }, function () { }); $(".abouttabs li").hover(function () { var index = $(this).index(); $(this).addclass("on").siblings().removeclass("on"); $(".aboutitemwrap .aboutitem").eq(index).addclass("on").siblings().removeclass("on"); }); });