This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
/* | |
Turn Visual Composer Image Carousel into Visual Composer Infinite Image Carousel | |
Include before the </head> tag on yout theme's header.php | |
Read the detailed step-by-step at https://humbertosilva.com/visual-composer-infinite-image-carousel/ | |
*/ | |
// auxiliary code to create triggers for the add and remove class for later use | |
(function($){ | |
$.each(["addClass","removeClass"],function(i,methodname){ |