基于jQuery实现图片轮播滚动切换代码



78 310 104



特效描述:基于jQuery实现 图片轮播 滚动切换,基于jQuery实现图片轮播滚动切换代码

代码结构

1. 引入CSS

<link rel="stylesheet" type="text/css" href="css/style.css" />

2. 引入JS

<script type="text/javascript" src="js/jquery-1.7.2.js"></script>
<script type="text/javascript" src="js/script.js"></script>

3. HTML代码

<div class="Div1">
    <b class="Div1_prev Div1_prev1" ><img src="images/lizi_img011.jpg" title="上一页" /></b>
    <b class="Div1_next Div1_next1" ><img src="images/lizi_img012.jpg"  title="下一页"/></b>
    <div class="Div1_main">
    	<div>
        	<span class="Div1_main_span1">
            	<a href="javascript:void(0)" class="Div1_main_a1"><img src="images/lizi_img007.jpg" /></a>
                <a href="javascript:void(0)" class="Div1_main_a2">+详情点击</a>
            </span>
            <span>
            	<a href="javascript:void(0)" class="Div1_main_a1"><img src="images/lizi_img007.jpg" /></a>
                <a href="javascript:void(0)" class="Div1_main_a2">+详情点击</a>
            </span>
            <span>
            	<a href="javascript:void(0)" class="Div1_main_a1"><img src="images/lizi_img007.jpg" /></a>
                <a href="javascript:void(0)" class="Div1_main_a2">+详情点击</a>
            </span>
            <span>
            	<a href="javascript:void(0)" class="Div1_main_a1"><img src="images/lizi_img007.jpg" /></a>
                <a href="javascript:void(0)" class="Div1_main_a2">+详情点击</a>
            </span>
        </div>
        <div>
        	<span>
            	<a href="javascript:void(0)" class="Div1_main_a1"><img src="images/lizi_img007.jpg" /></a>
                <a href="javascript:void(0)" class="Div1_main_a2">+详情点击</a>
            </span>
            <span>
            	<a href="javascript:void(0)" class="Div1_main_a1"><img src="images/lizi_img007.jpg" /></a>
                <a href="javascript:void(0)" class="Div1_main_a2">+详情点击</a>
            </span>
            <span>
            	<a href="javascript:void(0)" class="Div1_main_a1"><img src="images/lizi_img007.jpg" /></a>
                <a href="javascript:void(0)" class="Div1_main_a2">+详情点击</a>
            </span>
            <span>
            	<a href="javascript:void(0)" class="Div1_main_a1"><img src="images/lizi_img007.jpg" /></a>
                <a href="javascript:void(0)" class="Div1_main_a2">+详情点击</a>
            </span>
        </div>
        <div>
        	<span>
            	<a href="javascript:void(0)" class="Div1_main_a1"><img src="images/lizi_img007.jpg" /></a>
                <a href="javascript:void(0)" class="Div1_main_a2">+详情点击</a>
            </span>
            <span>
            	<a href="javascript:void(0)" class="Div1_main_a1"><img src="images/lizi_img007.jpg" /></a>
                <a href="javascript:void(0)" class="Div1_main_a2">+详情点击</a>
            </span>
            <span>
            	<a href="javascript:void(0)" class="Div1_main_a1"><img src="images/lizi_img007.jpg" /></a>
                <a href="javascript:void(0)" class="Div1_main_a2">+详情点击</a>
            </span>
            <span>
            	<a href="javascript:void(0)" class="Div1_main_a1"><img src="images/lizi_img007.jpg" /></a>
                <a href="javascript:void(0)" class="Div1_main_a2">+详情点击</a>
            </span>
        </div>
    </div>
</div>
<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
</div>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 滚动流动 滚动切换 滑动选项卡切换 自动滚动图片轮播 选项卡切换 滑动手风琴 切换按钮 form表单 滚动切换 选项卡自动切换 按钮控制

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到