Contentbox Code Section - News Feed Slider

<div class="cb-slider"><div id="cb-news" class="cb-slider-content"></div></div>
<script>
    jQuery('#cb-news').load('[REPLACE INSIDE QUOTES WITH AJAX FEED LINK]', function() {
//
var docReady=function(fn){var stateCheck=setInterval(function (){if(document.readyState!=="complete")return;clearInterval(stateCheck);try{fn()}catch(e){}},1);}
docReady(function() {
jQuery('#cb-news ul').slick({
dots: true,
arrows: true,
infinite: true,
speed: 500,cssEase: "linear",
slidesToShow: 1,
autoplay: true,
autoplaySpeed: 3000,
fade: false,
adaptiveHeight: true,
responsive: [{breakpoint: 480,settings: {arrows: false,slidesToShow: 1}}]
});
});
//
});
</script>

Index Previous Next