zusheng
2015-12-12 17:39
旋转木马做出来了,怎么居中啊,试了好多方法,没法居中。
问题自行解决了,谢谢大家
<div class="J_Poster poster-main" data-setting='{
"width":800,
"height":270,
"posterWidth":640,
"posterHeight":270,
"scale":0.8,
"autoPlay":true,
"delay":5000,
"speed":300,
"vericalAlign":"top"
}'>
<div class="poster-btn poster-prev-btn"></div>
<ul class="poster-list">
<li class="poster-item"><a href="#"><img src="images/1.jpg" width="100%" height="100%"></a></li>
<li class="poster-item"><a href="#"><img src="images/2.jpg" width="100%" height="100%"></a></li>
<li class="poster-item"><a href="#"><img src="images/3.jpg" width="100%" height="100%"></a></li>
<li class="poster-item"><a href="#"><img src="images/4.jpg" width="100%" height="100%"></a></li>
</ul>
<div class="poster-btn poster-next-btn"></div>
</div>
贴代码啊亲。
JS实现“旋转木马”幻灯片效果
66442 学习 · 147 问题
相似问题
回答 1