Contentbox Code Section - Gallery Slider of Images


<div id="cb-gall" class="slider-on-box" style="width:100%;height:100%;"></div>


<script>
    
    jQuery('#cb-gall').hide().load('[REPLACE INSIDE QUOTES WITH AJAX FEED LINK]', function() {

var imghtml="";

jQuery('#cb-gall img').each(function(){
imghtml +='<div class="is-boxes slider-image" style="background-image:url('+jQuery(this).attr("src")+');"></div>'
});
jQuery('#cb-gall').html(imghtml);


var docReady=function(fn){var stateCheck=setInterval(function (){if(document.readyState!=="complete")return;clearInterval(stateCheck);try{fn()}catch(e){}},1);}
docReady(function() {
jQuery('#cb-gall').show().slick({
dots: false,arrows: true,infinite: true,speed: 500,cssEase: "linear",slidesToShow: 1,autoplay: true,autoplaySpeed: 3000,fade: true,adaptiveHeight: true,responsive: [{breakpoint: 480,settings: {arrows: false,slidesToShow: 1}}]
});
});
//
});
</script>





Index Previous Next