Shoot, looks like I must have been asleep when I made the first post. The HTML for the ReadyTheme Content Section should look more like this:
and the JavaScript like this:
Code:
<div id="js-hero-slider" class="hero-slider"> <mvt:item name="readytheme" param="image( 'img_slide01' )"/> <mvt:item name="readytheme" param="image( 'img_slide02' )"/> <mvt:item name="readytheme" param="image( 'img_slide03' )"/> <mvt:item name="readytheme" param="image( 'img_slide04' )"/> </div> <!-- end hero-slider -->
Code:
$.ajax({ cache: true, crossDomain: true, dataType: 'script', url: theme_path + '/js/jquery.slick.min.js' }).done(function () { // ---- Hero Slide Show ---- // $('#js-hero-slider').slick({ arrows: false, autoplay: true, autoplaySpeed: 10000, dots: true, slide: '', responsive: [ { breakpoint: 960, settings: { dots: false } } ] }); });
Comment