中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

jquery怎么實現圖標導航控制滑動門上下滾動切換

發布時間:2022-03-05 10:50:09 來源:億速云 閱讀:149 作者:iii 欄目:web開發

本篇內容介紹了“jquery怎么實現圖標導航控制滑動門上下滾動切換”的有關知識,在實際案例的操作過程中,不少人都會遇到這樣的困境,接下來就讓小編帶領大家學習一下如何處理這些情況吧!希望大家仔細閱讀,能夠學有所成!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>jquery圖標導航控制滑動門上下滾動切換</title>

<meta name="keywords" content="jquery特效,滑動門,滑動選項卡,滾動切換,圖標選項卡" />

<meta name="description" content="jquery圖標導航控制滑動門上下滾動切換js特效代碼。" />

</head>

 

<body>

 

<style type="text/css">

*{margin:0;padding:0;list-style-type:none;}

a, img{border:0;}

body{font:12px/180% "微軟雅黑", Arial, Helvetica, sans-serif;}

body, div, dl, dt, dd, ul, ol, li, h2, h3, h4, h5, h6, h7, pre, form, fieldset, input, textarea, p, blockquote, th, td, font {padding:0;margin: 0;font-family:"微軟雅黑", Arial, Helvetica, sans-serif; font-size:12px;}

table {border-collapse:collapse;border-spacing:0;}

fieldset, img {border:0;vertical-align:top;}

h2, h3, h4, h5, h6, h7 {font-weight:normal;font-size:100%;}

ol, ul, li, dl, dt, dd {list-style:none;}

input, button, textarea, checkbox, select, radio, form {vertical-align:top;}

a{color:#333; text-decoration:none;outline:none; }

a:link,a:visited{ text-decoration:none;}

a:hover{ text-decoration:none;}

a:focus { -moz-outline-style: none; }

area{blr:expression(this.onFocus=this.blur()); } /* 圖片熱點去掉點擊鏈接時的虛線外框 */

a:focus{-moz-outline-style: none; /* FF去掉點擊鏈接時的虛線外框 */}

p{ line-height:24px;text-align:justify; color:#333;}

i, em{font-style:normal;}

.l{float:left;}

.r{float:right;}

img{border: medium none;}

.clear {font-size:0;line-height:0;clear:both;overflow:hidden;zoom:1;}

.blank {height:10px;font-size:0;line-height:0;clear:both;overflow:hidden;}

.blank2 {height:20px;font-size:0;line-height:0;clear:both;overflow:hidden;}

body{ background:#f8f8f8;}

/*樣式格式化 END*/

 

 

/* film_focus */

.film_focus{width:1200px;overflow:hidden;position:relative;margin:20px auto; height:432px; border-top:solid 4px #aacf53;}

.film_focus .film_focus_imgs_wrap{background:url(images/load.gif) no-repeat center center;width:1003px; float:right; overflow:hidden;height:430px;}

.film_focus ul.film_focus_imgs{height:auto;position:absolute;right:0;overflow:hidden;width:1003px;}

.film_focus ul.film_focus_imgs li{overflow:hidden; height:430px;width:1003px;height:auto; bottom:0; margin:5px 0;}

.film_focus ul.film_focus_imgs li img{height:205px;width:324px;}

.film_focus ul.film_focus_nav{width:193px;position:absolute;left:0;top:0;z-index:100;}

.film_focus ul.film_focus_nav li{width:170px;height:107px;left:0px;padding:0px 10px;word-break:break-all;color:#aacf53;font-size:22px;overflow:hidden;line-height:105px; background:#fff; border-left:solid 1px #d7d7d7; border-right:solid 2px #aacf53; border-bottom:solid 1px #d7d7d7;}

.film_focus ul.film_focus_nav li.cur{width:170px;left:0px;padding:0px 10px;word-break:break-all;color:#fff;overflow:hidden;line-height:105px; background:#aacf53; cursor:pointer; border-left:solid 1px #aacf53; border-right:solid 2px #aacf53;border-bottom:solid 1px #aacf53;}

.film_focus ul.film_focus_nav li b{display:none;height:105px;width:170px;float:left;}

.film_focus ul.film_focus_nav li span img{ float:left; margin:35px 10px 0 10px;}

.film_focus ul.film_focus_nav li b p img{ float:left; margin:35px 10px 0 10px;}

.film_focus ul.film_focus_nav li.cur b{ font-weight:100;}

 

.film_focus ul.film_focus_nav li span.zhanl img{ float:left; margin:42px 10px 0 10px;}

.film_focus ul.film_focus_nav li b p{ line-height:105px; font-size:22px; color:#fff;}

.film_focus ul.film_focus_nav li b.zhanl p img{ float:left; margin:42px 10px 0 10px;}

.film_focus ul.film_focus_nav li p{ line-height:105px; color:#aacf53; font-size:22px;}

 

.film_focus ul.film_focus_nav li span.huod img{ float:left; margin:25px 10px 0 10px;}

.film_focus ul.film_focus_nav li b.huod p img{ float:left; margin:25px 10px 0 10px;}

 

.film_focus ul.film_focus_nav li.cur b{display:block;vertical-align: middle;display: table-cell;height:105px;width:170px;float:left;}

.film_focus ul.film_focus_nav li.cur span{display:none;}

 

.film_focus ul.film_focus_nav li b p{ font-size:22px;}

 

.film_focus_imgs li dl dd{float:left;width:324px; height:205px; margin:0px 0 10px 10px; }

.film_focus_imgs li dl dd a{ width:324px; height:205px; display:block;}

.film_focus_imgs li dl dd a .mouse_s{width:324px; height:205px;}

.film_focus_imgs li dl dd a .mouse_s p{width:100%;bottom:40px; position:relative; line-height:40px; background:#d2d2d2; color:#333; font-size:14px; text-align:center;}

.film_focus_imgs li dl dd a .hover_s{width:324px; height:205px; position:relative;top:-990px;}

.film_focus_imgs li dl dd a .hover_s p{ background:#d2d2d2; color:#333; font-size:14px; text-align:center;}

.film_focus_imgs li dl dd a:hover .hover_s{ display:block; height:205px;top:-205px;}

.film_focus_imgs li dl dd a:hover .hover_s p{width:100%; text-align:center;bottom:40px; line-height:40px; background:none;position:relative; font-size:14px; color:#fff;}

</style>

 

 

 

<div class="film_focus">

         <div class="film_focus_desc">

                   <ul class="film_focus_nav">

                            <li class="cur"><b class="zhanl"><p><img src="images/show1_hover.png" />展覽展示</p></b><span class="zhanl"><p><img src="images/show1.png" />展覽展示</p></span></li>

                            <li><b class="huod"><p><img src="images/show2_hover.png" /></p>活動策劃</b><span class="huod"><p><img src="images/show2.png" />活動策劃</p></span></li>

                            <li><b><p><img src="images/show3_hover.png" /></p>商業設計</b><span><p><img src="images/show3.png" />商業設計</p></span></li>

                            <li><b><p><img src="images/show4_hover.png" /></p>增值服務</b><span><p><img src="images/show4.png" />增值服務</p></span></li>

                   </ul>

         </div>

         <div class="film_focus_imgs_wrap">

                   <ul class="film_focus_imgs">

                            <li>

             <dl>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>1瑞馬公司</p></div><div class="hover_s"><img src="images/chse.png" /><p>1瑞馬公司</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>展覽項目</p></div><div class="hover_s"><img src="images/chse.png" /><p>展覽項目</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>管理展臺</p></div><div class="hover_s"><img src="images/chse.png" /><p>管理展臺</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>展示精典</p></div><div class="hover_s"><img src="images/chse.png" /><p>展示精典</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>投標歷史</p></div><div class="hover_s"><img src="images/chse.png" /><p>投標歷史</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>展臺設計</p></div><div class="hover_s"><img src="images/chse.png" /><p>展臺設計</p></div></a></dd>

              </dl>

            </li>

          

            <li>

             <dl>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>2瑞馬公司</p></div><div class="hover_s"><img src="images/chse.png" /><p>2瑞馬公司</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>展覽項目</p></div><div class="hover_s"><img src="images/chse.png" /><p>展覽項目</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>管理展臺</p></div><div class="hover_s"><img src="images/chse.png" /><p>管理展臺</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>展示精典</p></div><div class="hover_s"><img src="images/chse.png" /><p>展示精典</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>投標歷史</p></div><div class="hover_s"><img src="images/chse.png" /><p>投標歷史</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>展臺設計</p></div><div class="hover_s"><img src="images/chse.png" /><p>展臺設計</p></div></a></dd>

              </dl>

            </li>

           

            <li>

             <dl>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>3瑞馬公司</p></div><div class="hover_s"><img src="images/chse.png" /><p>3瑞馬公司</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>展覽項目</p></div><div class="hover_s"><img src="images/chse.png" /><p>展覽項目</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>管理展臺</p></div><div class="hover_s"><img src="images/chse.png" /><p>管理展臺</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>展示精典</p></div><div class="hover_s"><img src="images/chse.png" /><p>展示精典</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>投標歷史</p></div><div class="hover_s"><img src="images/chse.png" /><p>投標歷史</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>展臺設計</p></div><div class="hover_s"><img src="images/chse.png" /><p>展臺設計</p></div></a></dd>

              </dl>

            </li>

           

            <li>

             <dl>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>4瑞馬公司</p></div><div class="hover_s"><img src="images/chse.png" /><p>4瑞馬公司</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>展覽項目</p></div><div class="hover_s"><img src="images/chse.png" /><p>展覽項目</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>管理展臺</p></div><div class="hover_s"><img src="images/chse.png" /><p>管理展臺</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>展示精典</p></div><div class="hover_s"><img src="images/chse.png" /><p>展示精典</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>投標歷史</p></div><div class="hover_s"><img src="images/chse.png" /><p>投標歷史</p></div></a></dd>

              <dd><a href="https://cache.yisu.com/upload/information/20220117/488/17218.jpg" /><p>展臺設計</p></div><div class="hover_s"><img src="images/chse.png" /><p>展臺設計</p></div></a></dd>

              </dl>

            </li>

           

                   </ul>

         </div>

</div>

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

<script type="text/javascript">

(function(A){

         A.fn.th_video_focus=function(E){

                  

                   var G={

                            actClass:"cur",

                            navContainerClass:".focus_pic_preview",

                            focusContainerClass:".focus_pic",

                            animTime:300,

                            delayTime:5000

                   };

                  

                   if(E){

                            A.extend(G,E)

                   }

                  

                   var C=G.actClass, D=G.navContainerClass, B=G.focusContainerClass, F=G.animTime, H=G.delayTime, I=null;

                  

                   return this.each(function(){

                           

                            var O=A(this), M=A(D+" li",O), P=A(B+" li",O), L=M.length, K=O.height();

                           

                            function N(R){

                                     var V=K*R*-1;

                                     var U=A(B+" li",O), W=null, T=null;

                                     for(var S=0;S<=R;S++){

                                               W=U.eq(S);

                                               T=W.find('script[type="text/templ"]');

                                               if(T.length>0){

                                                        W.html(T.html())

                                               }

                                     }

                                     A(B,O).stop().animate({top:V},F,function(){

                                               var Y=O.find("h4"), X=Y.height();

                                               Y.height(0).html(A(B+" li").eq(R).find("img").attr("alt")).animate({height:X},0)

                                     });

                                     A(D+" li").eq(R).addClass(C).siblings().removeClass(C)

                            }

                           

                            function Q(){

                                     if(I){

                                               clearInterval(I)

                                     }

                                     I=setInterval(function(){

                                               var R=A(D+" li."+C).index();

                                               N((R+1)%L)

                                     },H)

                            }

                           

                            O.hover(function(){

                                     if(I){

                                               clearInterval(I)

                                     }

                            },function(){

                                     Q()

                            });

                  

                            var J=null;

                           

                            M.hover(function(){

                                    

                                     var R=A(this).index();

                                    

                                     if(I){

                                               clearInterval(I)

                                     }

                                     J=setTimeout(function(){

                                               N(R)

                                     },400)

                            },function(){

                                     if(J){

                                               clearTimeout(J)

                                     }

                                     Q()

                            }).click(function(T){

                                     var R=A(this).index(), S=P.eq(R).find("a");

                                     if(document.uniqueID||window.opera){

                                               S[0].click();

                                               T.stopPropagation();

                                               T.preventDefault()

                                     }

                            });

                           

                            Q()

                           

                   })

         }

        

})(jQuery);

 

$(function(){

        

        

         $(".film_focus").th_video_focus({

                   navContainerClass:".film_focus_nav",

                   focusContainerClass:".film_focus_imgs",

                   delayTime:5000

         });

        

});    

</script>

 

</body>

</html>

“jquery怎么實現圖標導航控制滑動門上下滾動切換”的內容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業相關的知識可以關注億速云網站,小編將為大家輸出更多高質量的實用文章!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

郧西县| 崇仁县| 醴陵市| 琼结县| 博乐市| 康乐县| 铜鼓县| 土默特右旗| 梅州市| 五台县| 安乡县| 时尚| 建阳市| 安多县| 蛟河市| 绵竹市| 丰宁| 白沙| 乌海市| 博野县| 临西县| 宁波市| 象州县| 兖州市| 松滋市| 霍邱县| 包头市| 渭南市| 安化县| 太谷县| 德阳市| 普兰店市| 鄂尔多斯市| 霍州市| 吴川市| 平邑县| 区。| 浦江县| 布尔津县| 嘉禾县| 陇川县|