Barbados Bust

Barbados Bust


“+ “”+ ““+ “

“+title+””+ “]]>

“+ “”; html+=build; } } else { var ran_nums = []; for(var j=0; j”+ “”+ ““+ “”+title+””+ “”+ “”; if(title != ‘Barbados Bust’ && rec_count “+ “”+ ““+ “”+title+””+ “”+ “”; html+=build; } } else { var ran_nums = []; for(var j=0; j”+ “”+ ““+ “”+title+””+ “”+ “”; if(title != product_title && rec_count 559 ){ pdRecContainer.style.transform = ‘translate(-0vw,0px)’; pdRecContainer2.style.transform = ‘translate(-0vw,0px)’; pdSlideCount=0; pdSlideCount2=0} } function slidePdRec(x){ var LA = document.getElementsByClassName(‘pd-rec-LA’)[0]; var RA = document.getElementsByClassName(‘pd-rec-RA’)[0]; if( x == 0 && pdSlideCount != 0 ){pdSlideCount–; var slideAmt = pdSlideCount*100; pdRecContainer.style.transform = ‘translate(-‘+slideAmt+’vw,0px)’;} if( x == 1 && pdSlideCount != 3 ){pdSlideCount++; var slideAmt = pdSlideCount*100; pdRecContainer.style.transform = ‘translate(-‘+slideAmt+’vw,0px)’; } if ( pdSlideCount == 0 ){ LA.classList.add(‘pd-rec-deactive’) } else { LA.classList.remove(‘pd-rec-deactive’); } if ( pdSlideCount == 3 ){ RA.classList.add(‘pd-rec-deactive’) } else { RA.classList.remove(‘pd-rec-deactive’); } var LA2 = document.getElementsByClassName(‘pd-rec-LA’)[1]; var RA2 = document.getElementsByClassName(‘pd-rec-RA’)[1]; if( x == 2 && pdSlideCount2 != 0 ){pdSlideCount2–; var slideAmt = pdSlideCount2*100; document.getElementsByClassName(‘pd-rec-container’)[1].style.transform = ‘translate(-‘+slideAmt+’vw,0px)’;} if( x == 3 && pdSlideCount2 != 3 ){ pdSlideCount2++; var slideAmt = pdSlideCount2*100; document.getElementsByClassName(‘pd-rec-container’)[1].style.transform = ‘translate(-‘+slideAmt+’vw,0px)’;} if ( pdSlideCount2 == 0 ){ LA2.classList.add(‘pd-rec-deactive’) } else { LA2.classList.remove(‘pd-rec-deactive’); } if ( pdSlideCount2 == 3 ){ RA2.classList.add(‘pd-rec-deactive’) } else { RA2.classList.remove(‘pd-rec-deactive’); } } // Slide Capabilty var move_start_x = 0; var move_end_x = 0; var move_start_x2 = 0; var move_end_x2 = 0; pdRecContainer.addEventListener(“touchstart”, event =>{ move_start_x = event.changedTouches[0].screenX; }); pdRecContainer.addEventListener(“touchend”, event=> { move_end_x = event.changedTouches[0].screenX; if ( ( move_start_x+15 ) move_end_x){ slidePdRec(1);} }); var pdRecContainerTwo = document.getElementById(‘pd-injection2’); pdRecContainerTwo.addEventListener(“touchstart”, event =>{ move_start_x2 = event.changedTouches[0].screenX; }); pdRecContainerTwo.addEventListener(“touchend”, event=> { move_end_x2 = event.changedTouches[0].screenX; if ( ( move_start_x2+15 ) move_end_x2){ slidePdRec(3);} });

Source