TinyCarouseljQueryプラグインを使用していくつかのdivを水平方向にスライドさせようとしています。
これは私のhtmlです:
<div id="slider">
<div class="viewport">
<div class="overview">
<div class="cols">
<p>Whether you need to deliver product knowledge, promote a new service, or convey sales strategies, we make your message resonate, with materials that support your sales effort from the inside out.Whether you need to deliver product knowledge, promote a new service, or convey sales strategies, we make your message resonate, with materials that support your sales effort from the inside out.</p>
</div>
<div class="cols">
<p>ether you need to deliver product knowledge, promote a new service, or convey sales strategies, we make your message resonate, with materials that support your sales effort from the inside out.Whether you need to deliver product knowledge, promote a new service, or convey sales strategies, we make your message resonate, with materials that support your sales effort from the inside out.</p>
</div>
<div class="cols">
<p>r you need to deliver product knowledge, promote a new service, or convey sales strategies, we make your message resonate, with materials that support your sales effort from the inside out.Whether you need to deliver product knowledge, promote a new service, or convey sales strategies, we make your message resonate, with materials that support your sales effort from the inside out.</p>
</div>
<div class="cols">
<p>ct knowledge, promote a new service, or convey sales strategies, we make your message resonate, with materials that support your sales effort from the inside out.Whether you need to deliver product knowledge, promote a new service, or convey sales strategies, we make your message resonate, with materials that support your sales effort from the inside out.</p>
</div>
<div class="cols">
<p>knowledge, promote a new service, or convey sales strategies, we make your message resonate, with materials that support your sales effort from the inside out.Whether you need to deliver product knowledge, promote a new service, or convey sales strategies, we make your message resonate, with materials that support your sales effort from the inside out.</p>
</div>
<div class="cols">
<p>new service, or convey sales strategies, we make your message resonate, with materials that support your sales effort from the inside out.Whether you need to deliver product knowledge, promote a new service, or convey sales strategies, we make your message resonate, with materials that support your sales effort from the inside out.</p>
</div>
<div class="cols">
<p>promote a new service, or convey sales strategies, we make your message resonate, with materials that support your sales effort from the inside out.Whether you need to deliver product knowledge, promote a new service, or convey sales strategies, we make your message resonate, with materials that support your sales effort from the inside out.</p>
</div>
<div class="cols">
<p>strategies, we make your message resonate, with materials that support your sales effort from the inside out.Whether you need to deliver product knowledge, promote a new service, or convey sales strategies, we make your message resonate, with materials that support your sales effort from the inside out.</p>
</div>
<div class="cols">
<p>we make your message resonate, with materials that support your sales effort from the inside out.Whether you need to deliver product knowledge, promote a new service, or convey sales strategies, we make your message resonate, with materials that support your sales effort from the inside out.</p>
</div>
<div class="cols">
<p>with materials that support your sales effort from the inside out.Whether you need to deliver product knowledge, promote a new service, or convey sales strategies, we make your message resonate, with materials that support your sales effort from the inside out.</p>
</div>
</div>
</div>
<div style="clear:both;"></div>
<div class="nav-btn">
<a class="buttons prev" href="#">left</a>
<a class="buttons next" href="#">right</a>
</div>
</div>
これは私のjQueryです
<script type="text/javascript">
//Initialize
$(document).ready(function(){
$('#slider').tinycarousel({
display: 3,
pager: true,
interval: true,
intervaltime: 10000,
//axis: 'y'
controls: true
//animation: false
});
});
このスクリプトは機能していますが、6列を挿入するとdivスライディングが機能しません。何故ですか?colsdivに固定の幅と高さを指定しました。colsdivの内容がオーバーフローすることがあります。その場合、cols divにスクロールバーを追加できますか?