<div class="sm-imageslider">
	<div class="sm-imageslider-inner">
		<div class="sm-imageslider-content owl-carousel owl-theme">
			<div class="item">
				<a href="#" title="title"><img src="{{media url="wysiwyg/imageslider/slide1-id12.jpg"}}" alt="Slider Image" /></a>
			</div>
			
			<div class="item">
				<a href="#" title="title"><img src="{{media url="wysiwyg/imageslider/slide2-id12.jpg"}}" alt="Slider Image" /></a>
			</div>
			
			<div class="item">
				<a href="#" title="title"><img src="{{media url="wysiwyg/imageslider/slide3-id12.jpg"}}" alt="Slider Image" /></a>
			</div>
		</div>
		
	</div>
</div>

<script type="text/javascript">
	require([
		'jquery',
		'owlcarousel'
	], function ($) {
		$(".sm-imageslider-content").owlCarousel({
			center: false,
					startPosition: 0,
					margin: 0,
					responsive: {
						0: {
							items:1
						},
						768: {
							items:1
						}
					},

					nav: true,
					loop: true,
					dots: false,
					dotsSpeed: 1000,

					slideBy: 1,
					autoplay: true,
					autoplayTimeout: 5000,
					autoplayHoverPause: true,
					autoplaySpeed: 800,
					navSpeed: 1000,
					mouseDrag: true,
					responsiveRefreshRate: 100,
		});	  
	});					
</script>