SuperSlide标签切换、焦点图多种组合插件

此款插件包含在SuperSlide标签切换、焦点图多种组合插件,SuperSlide 是致力于实现网站统一特效调用的函数,能解决大部分标签切换、焦点图切换等效果,还能多个slide组合创造更多的效果。(兼容ie内核(包括无敌的 ie6)、webkit内核、ff、opera等主流浏览器)。适用于网站统一插件库其中包含了网站常用的大部分js效果。文件中包含使用详解。

js调用:

复制代码 代码如下:


jQuery(".slideTxtBox").slide( {effect:"left"} );
jQuery("#doubleSlideTxt").slide( { titCell:".parHd li",mainCell:".parBdIn",effect:"top",trigger:"click" } );

css代码:

复制代码 代码如下:


/* 双重slide-文本滚动效果 */
#doubleSlideTxt{ width:524px; zoom:1; position:relative; text-align:left;  }
#doubleSlideTxt .parHd{ position:absolute; z-index:1; top:10px; left:453px; width:44px; overflow:hidden; }
#doubleSlideTxt .parHd li{ width:14px; padding:5px 5px 5px 5px;  line-height:16px; border:1px solid #baccdf; border-left:0; 
    margin-bottom:5px; background:#fff; color:#b5c4d3;  cursor:pointer; margin-left:1px;  }
#doubleSlideTxt .parHd li.on{ background:#dbeefd; font-weight:bold; color:#367399;  border-right:3px solid #4e98c6;  
    margin-left:0px; position:relative; z-index:100; padding:5px 10px 5px 10px;}
#doubleSlideTxt .parBd{ position:relative;  z-index:0; width:440px; left:0px; border:1px solid #baccdf; padding:6px; background:#dbeefd;}
#doubleSlideTxt .parBd .slideTxtBox{ background:#fff; width:400px; border:0; padding:20px;    }
#doubleSlideTxt .parBd .slideTxtBox .hd{ background:#fff;  }

HTML:

复制代码 代码如下:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns=""><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Language" content="zh-CN">
<meta content="">
<meta content="">
<title>Super Slide</title>
<script type="text/javascript" src="https://www.jb51.net/jquery.pack.js"></script>
<script type="text/javascript" src="https://www.jb51.net/jQuery.blockUI.js"></script>
<script type="text/javascript" src="https://www.jb51.net/jquery.SuperSlide.js"></script>
<link href="https://www.jb51.net/default.css" type="text/css">
<link href="https://www.jb51.net/demo.css" type="text/css">
</head>
<body>
<body>
<!-- content S -->
 <div>
  <div>
     <div>
       <div>
        <ul>
         <li>栏目一</li>
         <li>栏目二</li>
         <li>栏目三</li>
        </ul>
       </div>
       <!-- parBd S -->
       <div>
         <div>
           <!-- slideTxtBox S -->
           <div>
            <div>
             <ul><li><a href="">教育1</a></li><li><a href="">培训1</a></li><li><a href="">出国1</a></li></ul>
            </div>
            <div>
             <ul>
              <li><span>2011-11-11</span><a href="">中国打破了世界软件巨头规则</a></li>
              <li><span>2011-11-11</span><a href="">口语:会说中文就能说英语!</a></li>
              <li><span>2011-11-11</span><a href="">农场摘菜不如在线学外语好玩</a></li>
              <li><span>2011-11-11</span><a href="">数理化老师竟也看学习资料?</a></li>
              <li><span>2011-11-11</span><a href="">学英语送ipad2,45天突破听说</a></li>
              <li><span>2011-11-11</span><a href="">学外语,上北外!</a></li>
             </ul>
             <ul>
              <li><span>2011-11-11</span><a href="">名师教作文:3妙招巧写高分</a></li>
              <li><span>2011-11-11</span><a href="">耶鲁小子:教你备考SAT</a></li>
              <li><span>2011-11-11</span><a href="">施强:高端专业语言教学</a></li>
              <li><span>2011-11-11</span><a href="">数理化老师竟也看学习资料?</a></li>
              <li><span>2011-11-11</span><a href="">【推荐】名校英语方法曝光!</a></li>
              <li><span>2011-11-11</span><a href="">2012高考“考点”大曝光!!</a></li>
             </ul>
             <ul>
              <li><span>2011-11-11</span><a href="">澳大利亚八大名校招生说明会</a></li>
              <li><span>2011-11-11</span><a href="">2012世界大学排名新鲜出炉</a></li>
              <li><span>2011-11-11</span><a href="">新加坡留学,国际双语课程</a></li>
              <li><span>2011-11-11</span><a href="">高考后留学日本名校随你选</a></li>
              <li><span>2011-11-11</span><a href="">教育培训行业优势资源推介</a></li>
              <li><span>2011-11-11</span><a href="">即刻预约今年最后一场教育展</a></li>
             </ul>
            </div>
           </div>
           <!-- slideTxtBox E -->
           <!-- slideTxtBox S -->
           <div>
            <div>
             <ul><li><a href="">教育2</a></li><li><a href="">培训2</a></li><li><a href="">出国2</a></li></ul>
            </div>
            <div>
             <ul>
              <li><span>2011-11-11</span><a href="">中国打破了世界软件巨头规则</a></li>
              <li><span>2011-11-11</span><a href="">口语:会说中文就能说英语!</a></li>
              <li><span>2011-11-11</span><a href="">农场摘菜不如在线学外语好玩</a></li>
              <li><span>2011-11-11</span><a href="">数理化老师竟也看学习资料?</a></li>
              <li><span>2011-11-11</span><a href="">学英语送ipad2,45天突破听说</a></li>
              <li><span>2011-11-11</span><a href="">学外语,上北外!</a></li>
             </ul>
             <ul>
              <li><span>2011-11-11</span><a href="">名师教作文:3妙招巧写高分</a></li>
              <li><span>2011-11-11</span><a href="">耶鲁小子:教你备考SAT</a></li>
              <li><span>2011-11-11</span><a href="">施强:高端专业语言教学</a></li>
              <li><span>2011-11-11</span><a href="">数理化老师竟也看学习资料?</a></li>
              <li><span>2011-11-11</span><a href="">【推荐】名校英语方法曝光!</a></li>
              <li><span>2011-11-11</span><a href="">2012高考“考点”大曝光!!</a></li>
             </ul>
             <ul>
              <li><span>2011-11-11</span><a href="">澳大利亚八大名校招生说明会</a></li>
              <li><span>2011-11-11</span><a href="">2012世界大学排名新鲜出炉</a></li>
              <li><span>2011-11-11</span><a href="">新加坡留学,国际双语课程</a></li>
              <li><span>2011-11-11</span><a href="">高考后留学日本名校随你选</a></li>
              <li><span>2011-11-11</span><a href="">教育培训行业优势资源推介</a></li>
              <li><span>2011-11-11</span><a href="">即刻预约今年最后一场教育展</a></li>
             </ul>
            </div>
           </div>
           <!-- slideTxtBox E -->
           <!-- slideTxtBox S -->
           <div>
            <div>
             <ul><li><a href="">教育3</a></li><li><a href="">培训3</a></li><li><a href="">出国3</a></li></ul>
            </div>
            <div>
             <ul>
              <li><span>2011-11-11</span><a href="">中国打破了世界软件巨头规则</a></li>
              <li><span>2011-11-11</span><a href="">口语:会说中文就能说英语!</a></li>
              <li><span>2011-11-11</span><a href="">农场摘菜不如在线学外语好玩</a></li>
              <li><span>2011-11-11</span><a href="">数理化老师竟也看学习资料?</a></li>
              <li><span>2011-11-11</span><a href="">学英语送ipad2,45天突破听说</a></li>
              <li><span>2011-11-11</span><a href="">学外语,上北外!</a></li>
             </ul>
             <ul>
              <li><span>2011-11-11</span><a href="">名师教作文:3妙招巧写高分</a></li>
              <li><span>2011-11-11</span><a href="">耶鲁小子:教你备考SAT</a></li>
              <li><span>2011-11-11</span><a href="">施强:高端专业语言教学</a></li>
              <li><span>2011-11-11</span><a href="">数理化老师竟也看学习资料?</a></li>
              <li><span>2011-11-11</span><a href="">【推荐】名校英语方法曝光!</a></li>
              <li><span>2011-11-11</span><a href="">2012高考“考点”大曝光!!</a></li>
             </ul>
             <ul>
              <li><span>2011-11-11</span><a href="">澳大利亚八大名校招生说明会</a></li>
              <li><span>2011-11-11</span><a href="">2012世界大学排名新鲜出炉</a></li>
              <li><span>2011-11-11</span><a href="">新加坡留学,国际双语课程</a></li>
              <li><span>2011-11-11</span><a href="">高考后留学日本名校随你选</a></li>
              <li><span>2011-11-11</span><a href="">教育培训行业优势资源推介</a></li>
              <li><span>2011-11-11</span><a href="">即刻预约今年最后一场教育展</a></li>
             </ul>
            </div>
           </div>
           <!-- slideTxtBox E -->
         </div>
       </div>
       <!-- parBd E -->
     </div>
     <script type="text/javascript">
     jQuery(".slideTxtBox").slide({effect:"left"});
     jQuery("#doubleSlideTxt").slide({ titCell:".parHd li",mainCell:".parBdIn",effect:"top",trigger:"click" });
     </script>
  </div>
 </div>
<!-- content E -->
</body>
</html>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wgfwsy.html