jQuery結合css3動畫屬性制作獵豹浏覽器寬屏banner焦點圖切換支持手機觸屏滑動焦點圖切換代碼
代碼如下:
<div class="slide-main" id="touchMain">
<a class="prev" href="javascript:;" stat="prev1001"><img src="images/l-btn.png" /></a>
<div class="slide-box" id="slideContent">
<div class="slide" id="bgstylec">
<a stat="sslink-3" href="" target="_blank">
<div class="obj-e"><img src="images/baomi-t-1.png" /></div>
<div class="obj-f"><img src="images/baomi-kl.jpg" /></div>
</a>
</div>
<div class="slide" id="bgstylea">
<a stat="sslink-1" href="" target="_blank">
<div class="obj-a"><img src="images/bao.png" /></div>
<div class="obj-b"><img src="images/nt-1.png" /></div>
</a>
</div>
<div class="slide" id="bgstyleb">
<a stat="sslink-2" href="" target="_blank">
<div class="obj-c"><img src="images/bao-2.png" /></div>
<div class="obj-d"><img src="images/st-2.png" /><p>全新chrome內核,內存占用最低,輕巧炫酷皮膚</p></div>
</a>
</div>
</div>
<a class="next" href="javascript:;" stat="next1002"><img src="images/r-btn.png" /></a>
<div class="item">
<a class="cur" stat="item1001" href="javascript:;"></a><a href="javascript:;" stat="item1002"></a><a href="javascript:;" stat="item1003"></a>
</div>
</div>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/main.js"></script>
以上就是本文所述的全部內容了,希望大家能夠喜歡。