利用jQuery实现图片滑动切换



51 200 67



特效描述:利用jQuery实现 图片滑动 切换,利用jQuery实现图片滑动切换

代码结构

1. 引入CSS

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

2. 引入JS

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

3. HTML代码

<div class="lanrenzhijia">
        <div class="frame960 relative">
          <div class="banner-img absolute" >
            <div class="relative" >
              <div class="leftimg left1" 
							moveInDerection="6"
							moveInSpeed="1000"
							moveInType="linear"
							fadeInSpeed="1000"
							fadeInType="linear"
							moveOutDerection="2"
							moveOutSpeed="1000"
							moveOutType="linear"
							fadeOutSpeed="1000"
							fadeOutType="linear"
					> <a href="http://51qianduan.com " title="盈峰资本网站建设上线"> <img style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bannerindex-5/text.png');"
								src="images/bannerindex-5/text.png" alt="盈峰资本网站建设上线"/> </a> </div>
              <div class="rightimg right1"
							moveInDerection="2"
							moveInSpeed="1000"
							moveInType="linear"
							fadeInSpeed="1000"
							fadeInType="linear"
							moveOutDerection="2"
							moveOutSpeed="1000"
							moveOutType="linear"
							fadeOutSpeed="1000"
							fadeOutType="linear"
					> <a target="_blank" href="http://51qianduan.com " title="盈峰资本网站建设上线"> <img style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bannerindex-5/盈峰资本.png');" 
							src="images/bannerindex-5/盈峰资本.png" alt="盈峰资本网站建设上线"/> </a> </div>
              <div class="leftimg left2" 
							moveInDerection="7"
							moveInSpeed="1000"
							moveInType="linear"
							fadeInSpeed="1000"
							fadeInType="linear"
							moveOutDerection="7"
							moveOutSpeed="700"
							moveOutType="linear"
							fadeOutSpeed="700"
							fadeOutType="linear"
					> <a href="http://51qianduan.com " title="深中润投资控股网站改版"> <img style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bannerindex-2/文本.png');"
								src="images/bannerindex-2/文本.png" alt="深中润投资控股网站改版"/> </a> </div>
              <div class="rightimg right2"
							moveInDerection="3"
							moveInSpeed="700"
							moveInType="linear"
							fadeInSpeed="700"
							fadeInType="linear"
							moveOutDerection="3"
							moveOutSpeed="1500"
							moveOutType="linear"
							fadeOutSpeed="700"
							fadeOutType="linear"
					> <a target="_blank" href="http://51qianduan.com " title="深中润投资控股网站改版"> <img style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bannerindex-2/案例图.png');" 
							src="images/bannerindex-2/案例图.png" alt="深中润投资控股网站改版"/> </a> </div>
              <div class="leftimg left3" 
							moveInDerection="8"
							moveInSpeed="700"
							moveInType="linear"
							fadeInSpeed="500"
							fadeInType="linear"
							moveOutDerection="4"
							moveOutSpeed="700"
							moveOutType="linear"
							fadeOutSpeed="700"
							fadeOutType="linear"
					> <a href="http://51qianduan.com " title="盐田港环球网站建设"> <img style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bannerindex-1/文本.png');"
								src="images/bannerindex-1/文本.png" alt="盐田港环球网站建设"/> </a> </div>
              <div class="rightimg right3"
							moveInDerection="4"
							moveInSpeed="700"
							moveInType="linear"
							fadeInSpeed="500"
							fadeInType="linear"
							moveOutDerection="4"
							moveOutSpeed="700"
							moveOutType="linear"
							fadeOutSpeed="700"
							fadeOutType="linear"
					> <a target="_blank" href="http://51qianduan.com " title="盐田港环球网站建设"> <img style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bannerindex-1/alt.png');" 
							src="images/bannerindex-1/alt.png" alt="盐田港环球网站建设"/> </a> </div>
              <div class="leftimg left4" 
							moveInDerection="3"
							moveInSpeed="700"
							moveInType="linear"
							fadeInSpeed="500"
							fadeInType="linear"
							moveOutDerection="3"
							moveOutSpeed="700"
							moveOutType="linear"
							fadeOutSpeed="700"
							fadeOutType="linear"
					> <a href="http://51qianduan.com " title="兰开夏大学中文版改版"> <img style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bannerindex-3/1_03.png');"
								src="images/bannerindex-3/1_03.png" alt="兰开夏大学中文版改版"/> </a> </div>
              <div class="rightimg right4"
							moveInDerection="7"
							moveInSpeed="700"
							moveInType="linear"
							fadeInSpeed="500"
							fadeInType="linear"
							moveOutDerection="7"
							moveOutSpeed="700"
							moveOutType="linear"
							fadeOutSpeed="700"
							fadeOutType="linear"
					> <a target="_blank" href="http://51qianduan.com " title="兰开夏大学中文版改版"> <img style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bannerindex-3/1_04.png');" 
							src="images/bannerindex-3/1_04.png" alt="兰开夏大学中文版改版"/> </a> </div>
              <div class="leftimg left5" 
							moveInDerection="3"
							moveInSpeed="700"
							moveInType="easeOutCubic"
							fadeInSpeed="500"
							fadeInType="easeOutCubic"
							moveOutDerection="7"
							moveOutSpeed="700"
							moveOutType="easeOutCubic"
							fadeOutSpeed="500"
							fadeOutType="easeOutCubic"
					> <a href="http://51qianduan.com " title="面点王品牌网站改版"> <img style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bannerindex-4/04字.png');"
								src="images/bannerindex-4/04字.png" alt="面点王品牌网站改版"/> </a> </div>
              <div class="rightimg right5"
							moveInDerection="7"
							moveInSpeed="700"
							moveInType="easeOutCubic"
							fadeInSpeed="500"
							fadeInType="easeOutCubic"
							moveOutDerection="7"
							moveOutSpeed="700"
							moveOutType="easeOutCubic"
							fadeOutSpeed="500"
							fadeOutType="easeOutCubic"
					> <a target="_blank" href="http://51qianduan.com " title="面点王品牌网站改版"> <img style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bannerindex-4/04.png');" 
							src="images/bannerindex-4/04.png" alt="面点王品牌网站改版"/> </a> </div>
              <div class="leftimg left6" 
							moveInDerection="2"
							moveInSpeed="700"
							moveInType="linear"
							fadeInSpeed="500"
							fadeInType="linear"
							moveOutDerection="6"
							moveOutSpeed="700"
							moveOutType="linear"
							fadeOutSpeed="500"
							fadeOutType="linear"
					> <a href="http://51qianduan.com " title="联塑官网改版上线"> <img style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bannerindex-6/联塑 - 文字.png');"
								src="images/bannerindex-2/文本.png" alt="联塑官网改版上线"/> </a> </div>
              <div class="rightimg right6"
							moveInDerection="6"
							moveInSpeed="700"
							moveInType="linear"
							fadeInSpeed="500"
							fadeInType="linear"
							moveOutDerection="2"
							moveOutSpeed="700"
							moveOutType="linear"
							fadeOutSpeed="500"
							fadeOutType="linear"
					> <a target="_blank" href="http://51qianduan.com " title="联塑官网改版上线"> <img style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bannerindex-6/ls.png');" 
							src="images/bannerindex-6/ls.png" alt="联塑官网改版上线"/> </a> </div>
              <div class="leftimg left7" 
							moveInDerection="8"
							moveInSpeed="700"
							moveInType="easeOutCubic"
							fadeInSpeed="500"
							fadeInType="easeOutCubic"
							moveOutDerection="4"
							moveOutSpeed="700"
							moveOutType="easeOutCubic"
							fadeOutSpeed="500"
							fadeOutType="easeOutCubic"
					> <a href="http://51qianduan.com " title="扬智科技品牌网站制作"> <img style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bannerindex-7/07字.png');"
								src="images/bannerindex-7/07字.png" alt="扬智科技品牌网站制作"/> </a> </div>
              <div class="rightimg right7"
							moveInDerection="4"
							moveInSpeed="700"
							moveInType="easeOutCubic"
							fadeInSpeed="500"
							fadeInType="easeOutCubic"
							moveOutDerection="8"
							moveOutSpeed="1000"
							moveOutType="easeOutCubic"
							fadeOutSpeed="500"
							fadeOutType="easeOutCubic"
					> <a target="_blank" href="http://51qianduan.com " title="扬智科技品牌网站制作"> <img style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bannerindex-7/07.png');" 
							src="images/bannerindex-7/07.png" alt="扬智科技品牌网站制作"/> </a> </div>
            </div>
          </div>
          <ul class="banner-bt absolute">
            <li> <a class="pointer" target="1"> <span class="ico" style="background-image: url('images/bannerindex-5/d.png')"></span> </a> </li>
            <li> <a class="pointer" target="2"> <span class="ico" style="background-image: url('images/bannerindex-2/点击.png')"></span> </a> </li>
            <li> <a class="pointer" target="3"> <span class="ico" style="background-image: url('images/bannerindex-1/点击.png')"></span> </a> </li>
            <li> <a class="pointer" target="4"> <span class="ico" style="background-image: url('images/bannerindex-3/按钮.png')"></span> </a> </li>
            <li> <a class="pointer" target="5"> <span class="ico" style="background-image: url('images/bannerindex-4/04L.png')"></span> </a> </li>
            <li> <a class="pointer" target="6"> <span class="ico" style="background-image: url('images/bannerindex-6/点击.png')"></span> </a> </li>
            <li> <a class="pointer" target="7"> <span class="ico" style="background-image: url('images/bannerindex-7/07L.png')"></span> </a> </li>
          </ul>
        </div>
      </div>
<div style="text-align:center;clear:both"><br>
</div>



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


热门标签: 导航切换 图片淡出淡进 带标题的焦点图 缩略图 文字淡出淡进 带缩略图的幻灯片 图片相册 带简介的焦点图 图片切换 图片轮播 图片墙 文字切换 自动滚动图片轮播 百叶窗 背景切换 图片网格 马赛克幻灯片 手风琴 图片九宫格 全屏焦点图 选项卡自动切换 视频切换 图片高亮 列表切换 图片对比 图片文字 渐隐切换 单排图片 全屏切换 响应式图片 切换按钮 图片列表 缩放切换 图片拖动 图片放大镜 图片叠加 图片翻转旋转 图片延迟加载 图片淡出淡进 图片全屏 图片头像上传 二维码 滚动切换 滑动选项卡切换 图片广告 图片放大缩小 html5图片动画 带缩略图的幻灯片 地图 flash焦点图 图片滚动 图片滑动 图片切换 图片收缩展开 旋转木马 图片轮播 自动滚动图片轮播 图标导航菜单 选项卡切换 滑动手风琴 背景切换 手风琴 渐隐切换 淡出淡入淡进 图表 焦点图幻灯片 图片 头像截图

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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