✦ Verified product
Ace Series GT829 Fabric
USD 149.99
GTPlayer Gaming Chair US
Verified independent store
→
.pcA{display: block!important;} .phA{display: none!important;} #CKTA>div{position: relative} .YouTubeVideo{width: 100%;height: 660px;display: block} @media screen and (max-width:80
0px) { .pcA{display: none!important;} .phA{display: block!important;} .YouTubeVideo{width: 100%;height: 190px} } < > < > // = 800 && screen.width >= screen.height) { $(".box>.ph_bf").remove() }else { $(".box>.pc_bf").remove() } }); var prevIndex2 = 0; var curIndex2 = 0; $(".next2").click(function() { var box=$(this).parent(); prevIndex2=box.attr("previndex2"); curIndex2=box.attr("curindex2"); //.is(":animated"):正在执行动画返回true,没在执行动画返回false if (box.children(".LBimg2").eq(curIndex2).is(":animated")) { return; } if (curIndex2 >= box.children(".LBimg2").length - 1) { curIndex2 = 0; } else { curIndex2++ } tab2(box); prevIndex2 = curIndex2; box.attr("previndex2",prevIndex2); box.attr("curindex2",curIndex2); }); $(".prev2").click(function() { var box=$(this).parent(); prevIndex2=box.attr("previndex2"); curIndex2=box.attr("curindex2"); if (box.children(".LBimg2").eq(curIndex2).is(":animated")) { return; } if (curIndex2 prevIndex2) { box.children(".LBimg2").eq(prevIndex2).animate({ left: -100+"%" }, 500) box.children(".LBimg2").eq(curIndex2).css("left", "100%").animate({ left: 0 }, 500) } else { box.children(".LBimg2").eq(prevIndex2).animate({ left: 100+"%" }, 500) box.children(".LBimg2").eq(curIndex2).css("left", "-100%").animate({ left: 0 }, 500) } //切小点; $(".LB2_"+LBIdx+" .nav2 li").eq(curIndex2).addClass("on2").siblings().removeClass() } // ]]>