利用jquery实现双重滚动效果



40 158 53



特效描述:利用jquery实现 双重 滚动效果,利用jquery实现双重滚动效果

代码结构

1. 引入CSS

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

2. 引入JS

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

3. HTML代码

<div id="indexmain">
  <div id="slide">
    <div class="bd">
      <div class="cover">
        <ul>
        <li data-category="tv">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/4.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap">
            <i></i>
            <strong title="爱情自有天意">爱情自有天意</strong>
            <span class="status">更新至84集</span>
            <span class="info" title="三生三旦续写旷世恋情">三生三旦续写旷世恋情</span>
            </span>
            <span class="vhd">高清</span>
            </a>
            </li>
          <li data-category="tv">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/5.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap">
            <i></i>
            <strong title="乡村爱情变奏曲">乡村爱情变奏曲</strong>
            <span class="status">共50集全</span>
            <span class="info" title="象牙山村里发生的大事小情、家长里短、恩恩怨怨、是是非非">象牙山村里发生的大事小情、家长里短...</span>
            </span>
            <span class="vhd">高清</span>
            </a>
            </li>
            <li data-category="tv">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/6.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap">
            <i></i>
            <strong title="独生子女的婆婆妈妈">独生子女的婆婆妈妈</strong>
            <span class="status">更新至40集</span>
            <span class="info" title="80、90小夫妻,与婆婆妈妈的生活大碰撞">80、90小夫妻,与婆婆妈妈的生活大...</span>
            </span>
            <span class="vhd">高清</span>
            </a>
            </li>
          <li data-category="tv">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/7.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap">
            <i></i> <strong title="嫁入豪门">嫁入豪门</strong>
            <span class="status">共40集全</span>
            <span class="info" title="佘诗曼先婚后爱,演绎一段浪漫感人的豪门情缘">佘诗曼先婚后爱,演绎一段浪漫感人的...</span>
            </span> 			
            <span class="vhd">高清</span>
            </a>
            </li>
          <li data-category="tv">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/8.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap">
            <i></i>
            <strong title="笑傲江湖">笑傲江湖</strong>
            <span class="status">更新至56集</span>
            <span class="info" title="狗血改编基情无限,2013最不像金庸的金庸剧">狗血改编基情无限,2013最不像金庸...</span>
            </span> <span class="vhd">高清</span>
            </a>
            </li>
          <li data-category="tv">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank"> <img src="photo/9.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap">
            <i></i>
            <strong title="金大花的华丽冒险">金大花的华丽冒险</strong>
            <span class="status">更新至12集</span>
            <span class="info" title="金大花的华丽冒险,丑女翻身大作战">金大花的华丽冒险,丑女翻身大作战</span>
            </span>
            <span class="vhd">高清</span>
            </a>
            </li>
        <!--tv end-->
     <li data-category="movie">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank"> <img src="photo/10.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap">
            <i></i>
            <strong title="恋爱三万英尺">恋爱三万英尺</strong>
            <em>6<span>.3</span></em>
            <span class="info" title="最高职业人空姐空少的爱情密码">最高职业人空姐空少的爱情密码</span>
            </span>
            <span class="vhd">高清</span>
            </a>
            </li>
          <li data-category="movie">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/11.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap">
            <i></i>
            <strong title="十二生肖">十二生肖</strong>
            <em>7<span>.5</span></em>
            <span class="info" title="成龙大哥收山之作,国宝保卫战">成龙大哥收山之作,国宝保卫战</span>
            </span>
            <span class="vhd">高清</span>
            </a>
            </li>
          <li data-category="movie">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/12.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap">
            <i></i>
            <strong title="三个未婚妈妈">三个未婚妈妈</strong>
        	<em>5<span>.9</span></em>
            <span class="info" title="一个宝宝三个未婚妈妈,充满幸福的故事">一个宝宝三个未婚妈妈,充满幸福的故事</span>
            </span>
            <span class="vhd">高清</span>
            </a>
            </li>
          <li data-category="movie">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/13.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap"> <i></i> <strong title="黑暗中的救赎">黑暗中的救赎</strong>
            <em>6<span>.0</span></em>
            <span class="info" title="深陷婚姻危机的中年男子遭遇一场突如其来的凶杀">深陷婚姻危机的中年男子遭遇一场突如...</span></span>
            <span class="vhd">高清</span>
            </a>
            </li>
          <li data-category="movie">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/14.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap"><i></i><strong title="美男记">美男记</strong>
  			 <em>5<span>.8</span></em>
            <span class="info" title="杜海涛客串大玩潜规则,美女撩拨秒杀屌丝摄影师">杜海涛客串大玩潜规则,美女撩拨秒杀...</span></span>
            <span class="vhd">高清</span>
            </a>
            </li>
          <li data-category="movie">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/15.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap"> <i></i> <strong title="浮城谜事">浮城谜事</strong>
			<em>6<span>.1</span></em>
            <span class="info" title="离奇车祸命案引发情爱秘密,戛纳获奖影片精彩呈现">离奇车祸命案引发情爱秘密,戛纳获奖...</span>
            </span>
            </a>
            </li>     
               <!--movie end-->
         <li data-category="anime">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/16.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap"> <i></i> <strong title="银魂">银魂</strong>
            <span class="status">更新至252集</span>
            <span class="info" title="无厘头搞笑,经典万事屋开张了">无厘头搞笑,经典万事屋开张了</span>
            </span> <span class="vhd">高清</span>
            </a>
            </li>
          <li data-category="anime">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/17.jpg">
            <span class="shadow-vanish inner-shadow"></span><span class="info-wrap"> <i></i> <strong title="火影忍者">火影忍者</strong>
            <span class="status">更新至485集</span>
            <span class="info" title="战斗吧,火之忍者;前进啊,鸣人!">战斗吧,火之忍者;前进啊,鸣人!</span></span>
            <span class="vhd">高清</span>
            </a>
            </li>
          <li data-category="anime">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/18.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap"> <i></i> <strong title="名侦探柯南">名侦探柯南</strong>
            <span class="status">更新至703集</span> <span class="info" title="少年侦探大战黑衣组织">少年侦探大战黑衣组织</span></span>
            <span class="vhd">高清</span>
            </a>
            </li>
          <li data-category="anime">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/19.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap"> <i></i> <strong title="龙珠GT">龙珠GT</strong>
            <span class="status">共64集全</span>
            <span class="info" title="龙珠第三部,感人结局不容错过">龙珠第三部,感人结局不容错过</span>
            </span>
            </a>
            </li>
          <li data-category="anime">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/20.jpg">
            <span class="shadow-vanish inner-shadow"></span> <span class="info-wrap">
            <i></i> <strong title="海贼王">海贼王</strong>
            <span class="status">更新至589集</span>
            <span class="info" title="海贼们的寻宝之旅">海贼们的寻宝之旅</span>
            </span>
            </a>
            </li>
          <li data-category="anime">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/21.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap">
            <i></i>
            <strong title="熊出没">熊出没</strong>
            <span class="status">共104集全</span>
            <span class="info" title="森林保护者熊兄弟与破坏森林的光头强之间的搞笑对决。">森林保护者熊兄弟与破坏森林的光头强...</span>
            </span>
            <span class="vhd">高清</span>
            </a>
            </li>
        <!--dongman end-->
          <li data-category="variety">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/1.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap">
            <i></i>
            <strong title="年代秀">年代秀</strong>
            <span class="status">更新至3月30日</span>
            <span class="info" title="展示自己的年代故事">展示自己的年代故事</span>
            </span>
            <span class="vhd">高清</span>
            </a>
            </li>
          <li data-category="variety">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/2.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap">
            <i></i>
            <strong title="我爱记歌词">我爱记歌词</strong> 
            <span class="status">更新至3月31日</span>
            <span class="info" title="全民K歌,无论音调只要歌词">全民K歌,无论音调只要歌词</span>
            </span> <span class="vhd">高清</span>
            </a>
            </li>
          <li data-category="variety">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/3.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap">
            <i></i>
            <strong title="非常了得">非常了得</strong>
            <span class="status">更新至4月3日</span>
            <span class="info" title="全新益智答题类节目,郭德纲孟非爆笑开场">全新益智答题类节目,郭德纲孟非爆笑...</span>
            </span> <span class="vhd">高清</span> </a>
            </li>
          <li data-category="variety">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/22.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap">
            <i></i>
            <strong title="快乐大本营">快乐大本营</strong>
            <span class="status">更新至3月30日</span>
            <span class="info" title="快乐大本营,天天好心情">快乐大本营,天天好心情</span>
            </span>
            <span class="vhd">高清</span>
            </a>
            </li>
          <li data-category="variety">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/23.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap">
            <i></i>
            <strong title="我是歌手">我是歌手</strong>
            <span class="status">更新至3月29日</span>
            <span class="info" title="歌手中歌手,震撼出场">歌手中歌手,震撼出场</span>
            </span> <span class="vhd">高清</span>
            </a>
            </li>
          <li data-category="variety">
            <div class="shadow"></div>
            <a rel="nofollow" href="http://51qianduan.com " title="" target="_blank">
            <img src="photo/24.jpg">
            <span class="shadow-vanish inner-shadow"></span>
            <span class="info-wrap">
            <i></i>
            <strong title="非诚勿扰">非诚勿扰</strong>
            <span class="status">更新至4月1日</span>
            <span class="info" title="非诚勿扰,找寻真爱,幸福就在这儿等你">非诚勿扰,找寻真爱,幸福就在这儿等你</span>
            </span>
            <span class="vhd">高清</span>
            </a>
            </li>
             <!--zongyi end-->
        </ul>
      </div>
          <a rel="nofollow" href="http://51qianduan.com " class="btn left-btn" hidefocus="true"></a>
          <a rel="nofollow" href="http://51qianduan.com " class="btn right-btn" hidefocus="true"></a>
      </div>
    <div class="ft">
      <div class="tab">
      <a rel="nofollow" href="http://51qianduan.com " data-index="1" class="cur" hidefocus="true">电视剧<span></span></a>
      <a rel="nofollow" href="http://51qianduan.com " data-index="3" class="" hidefocus="true">电影<span></span></a>
      <a rel="nofollow" href="http://51qianduan.com " data-index="5" class="" hidefocus="true">动漫<span></span></a>
      <a rel="nofollow" href="http://51qianduan.com " data-index="7" class="" hidefocus="true">综艺<span></span></a>
      </div>
    </div>
    <div class="edge left-edge"></div>
    <div class="edge right-edge"></div>
    <div class="slide-bottom-shadow"></div>
  </div>
</div>
<div style="text-align:center;clear:both">
</div>



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


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

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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