/*+++++hj_go_36+++++*/ /*+++++hj_end_36+++++*/ /*+++++hj_go_37+++++*/ /*+++++hj_end_37+++++*/ /*+++++hj_go_172+++++*/ $(document).ready(function() { $('.hj_mk_172_big-image img').attr('src', $('.hj_mk_172_small-images span').eq(0).find('img').attr('src')); let bigCurrentIndex = 0; let smallCurrentIndex = 0; const totalBigImages = $('.hj_mk_172_big-image img').length; const totalSmallImages = $('.hj_mk_172_small-images span').length; function showBigImage(index) { $('.hj_mk_172_small-images span').eq(index).addClass("hj_mk_172_active").siblings().removeClass("hj_mk_172_active"); $('.hj_mk_172_big-image img').attr('src', $('.hj_mk_172_small-images span').eq(index).find('img').attr('src')); } $('.hj_mk_172_small-images span').click(function() { bigCurrentIndex = $('.hj_mk_172_small-images span').index(this); showBigImage(bigCurrentIndex); }); $('.hj_mk_172_next-arrow').click(function() { bigCurrentIndex = (bigCurrentIndex + 1) % totalSmallImages; showBigImage(bigCurrentIndex); }); $('.hj_mk_172_prev-arrow').click(function() { bigCurrentIndex = (bigCurrentIndex - 1 + totalSmallImages) % totalSmallImages; showBigImage(bigCurrentIndex); }); $(".hj_mk_172_title h2").click(function(){ $(this).addClass("hj_mk_172_activetitle").siblings().removeClass("hj_mk_172_activetitle"); var index= $(this).index(); $(".hj_mk_172_details").eq(index).addClass("hj_mk_172_activejs").siblings().removeClass("hj_mk_172_activejs"); }) }); /*+++++hj_end_172+++++*/ /*+++++hj_go_62+++++*/ /*+++++hj_end_62+++++*/ /*+++++hj_go_63+++++*/ var hj_mk_63_speed = 20; var hj_mk_63_demoaa = document.getElementById("hj_mk_63_demoaa"); var hj_mk_63_demo = document.getElementById("hj_mk_63_demo"); var hj_mk_63_kuan = $(".hj_mk_63_twulli").width(); var hj_mk_63_ji = $(".hj_mk_63_twulli").length; var hj_mk_63_zhi=0; $(".hj_mk_63_twul").css({ width:(hj_mk_63_ji*hj_mk_63_kuan*6)+'px'}) var hj_mk_63_html = $(".hj_mk_63_twul").html(); $(".hj_mk_63_twul").html(hj_mk_63_html+hj_mk_63_html+hj_mk_63_html+hj_mk_63_html+hj_mk_63_html+hj_mk_63_html) function hj_mk_63_Marquee() { hj_mk_63_zhi++; $("#hj_mk_63_demo").scrollLeft(hj_mk_63_zhi); } var hj_mk_63_MyMar=setInterval(hj_mk_63_Marquee,hj_mk_63_speed) $("#hj_mk_63_demo").mouseover(function(){ clearInterval(hj_mk_63_MyMar) }) $("#hj_mk_63_demo").mouseout(function(){ hj_mk_63_MyMar=setInterval(hj_mk_63_Marquee,hj_mk_63_speed) }) /*+++++hj_end_63+++++*/ /*+++++hj_go_65+++++*/ /*+++++hj_end_65+++++*/ /*+++++hj_go_66+++++*/ /*+++++hj_end_66+++++*/