<div id="bookBox"<?# bookStyle ?>>
	<div class="workframe">
		<h2 class="title" data-aos="fade-up"><?# indexBTitle ?></h2>
		<ul data-aos="fade-down">
			<php:repeater id="listB">
			<template>
			<li>
				<a class="photo" href="<?# link ?>" title="<?# BookName ?>" style="background-image:url(<?# BookImage ?>);"><img src="/images/book-blank.png" alt="<?# BookName ?>" /></a>
				<h3><a class="text-clamp" href="<?# link ?>" title="<?# BookName ?>"><?# BookName ?></a></h3>
			</li>
			</template>
			</php:repeater>
		</ul>
		<p class="readmore"><a href="<?# indexBMLink ?>" title="<?# indexBMLinkTitle ?>"><?# indexBMLinkTitle ?></a></p>
	</div>
</div>
<script>
$(function(){
	$('#bookBox ul').slick({
		autoplay: true,
		dots: false,
		arrows: false,
		infinite: true,
		speed: 300,
		slidesToShow: 8,
		slidesToScroll: 4,
		responsive: [{
			breakpoint: 1024,
			settings: { slidesToShow: 4, slidesToScroll: 4 }
		},{
			breakpoint: 600,
			settings: { slidesToShow: 2, slidesToScroll: 2 }
		}]
	});
});
</script>