jQuery焦點圖輪播特效代碼分享(3款),jquery特效代碼

來源:互聯網
上載者:User

jQuery焦點圖輪播特效代碼分享(3款),jquery特效代碼

本文執行個體講述了jQuery焦點圖輪播特效代碼。分享給大家供大家參考。具體如下:
jQuery cxSlide實現的三款多功能大氣焦點圖輪播特效源碼,是一段擁有三種不同風格和效果的焦點圖輪播代碼,其中有兩款最有意思,一款是在將焦點圖圖片分成了四塊,每個圖片都串連到不同的地址,並且還擁有滑鼠懸浮內圖時,其它圖片都變暗了的效果,另外一款是,帶有帶縮圖和文字描述效果的焦點圖輪播代碼。
運行:----------------------查看效果 源碼下載-----------------------

小提示:瀏覽器中如果不能正常運行,可以嘗試切換瀏覽模式。
 為大家分享的jQuery焦點圖輪播特效代碼如下

<!DOCTYPE HTML><html><head><meta charset="utf-8"><title>多功能大氣jQuery焦點圖輪播特效外掛程式jQuery cxSlide</title><link rel="stylesheet" href="css/demo.css"><link rel="stylesheet" href="css/layout.css"></head><body><div class="wrap"> <div class="side">  <dl class="about">  <dt>jQuery焦點圖輪播</dt>  </dl> </div> <div class="main"> <div class="inwrap">  <h1>jQuery焦點圖輪換外掛程式jQuery cxSlide</h1>  <h2>樣本</h2>  <div class="example">  <h3>常見焦點圖展示</h3>  <div id="cxslide_x" class="cxslide_x">   <div class="box">   <ul class="list">    <li><a href="#1"><img src="img/slide_1.jpg" width="600" height="280"></a><p>焦點圖解說文字 111</p></li>    <li><a href="#2"><img src="img/slide_2.jpg" width="600" height="280"></a><p>焦點圖解說文字 222</p></li>    <li><a href="#3"><img src="img/slide_3.jpg" width="600" height="280"></a><p>焦點圖解說文字 333</p></li>    <li><a href="#4"><img src="img/slide_4.jpg" width="600" height="280"></a><p>焦點圖解說文字 444</p></li>    <li><a href="#5"><img src="img/slide_5.jpg" width="600" height="280"></a><p>焦點圖解說文字 555</p></li>   </ul>   </div>  </div>  </div>    <div class="example">  <h3>大模組展示</h3>  <div id="cxslide_y" class="cxslide_y">   <div class="box">   <ul class="list">    <li><a href="#"><img src="img/y1.jpg" width="780" height="420"></a></li>    <li>    <div style="float:left;width:560px;">     <a href="#"><img src="img/y2-1.jpg" width="560" height="420"></a>    </div>    <div style="float:left;width:220px;">     <a href="#"><img src="img/y2-2.jpg" width="220" height="140"></a>     <a href="#"><img src="img/y2-3.jpg" width="220" height="140"></a>     <a href="#"><img src="img/y2-4.jpg" width="220" height="140"></a>    </div>    </li>    <li>    <div style="float:left;width:520px;">     <a href="#"><img src="img/y3-1.jpg" width="260" height="210"></a><a href="#"><img src="img/y3-2.jpg" width="260" height="210"></a>     <a href="#"><img src="img/y3-3.jpg" width="520" height="210"></a>    </div>    <div style="float:left;width:260px;">     <a href="#"><img src="img/y3-4.jpg" width="260" height="420"></a>    </div>    </li>    <li>    <div style="float:left;width:560px;">     <a href="#"><img src="img/y4-1.jpg" width="560" height="420"></a>    </div>    <div style="float:left;width:220px;">     <a href="#"><img src="img/y4-2.jpg" width="220" height="140"></a>     <a href="#"><img src="img/y4-3.jpg" width="220" height="140"></a>     <a href="#"><img src="img/y4-4.jpg" width="220" height="140"></a>    </div>    </li>    <li><a href="#"><img src="img/y5.jpg" width="780" height="420"></a></li>   </ul>   </div>  </div>  </div>    <div class="example">  <h3>自訂按鈕內容</h3>  <div id="cxslide_fade" class="cxslide_fade">   <div class="box">   <ul class="list">    <li><a href="#">    <img src="img/fade1.jpg">    <div class="txt">     <h4>玩轉早春自駕遊</h4>     <p>春暖花開,萬物複蘇;</p>     <p>到處洋溢著花香的氣息;</p>     <p>連上七天班的心蠢蠢欲動;</p>     <p>不如趁著清明小長假,來次放鬆心情的自駕遊吧!</p>    </div>    </a></li>    <li><a href="#">    <img src="img/fade2.jpg">    <div class="txt">     <h4 style="color:#9E6452;">十二星座屌絲男把妹秘籍</h4>     <p style="color:#9E6452;">窈窕淑女,屌絲好逑。</p>     <p style="color:#9E6452;">那麼多美好的妹子,為什麼一個都不是你的?</p>     <p style="color:#9E6452;">全速武裝起來,妹子和機會一樣,都喜歡有準備的人。</p>     <p style="color:#9E6452;">十二星座的單身男人們,發福利啦!</p>    </div>    </a></li>    <li><a href="#">    <img src="img/fade3.jpg">    <div class="txt">     <h4>風調日和清明天</h4>     <p>氣清景明,萬物皆顯,春意正濃</p>     <p>包含了掃墓祭祀的悼念哀思</p>     <p>和踏青遊玩的歡笑嬉戲</p>     <p>好一派風調日和清明天~</p>    </div>    </a></li>    <li><a href="#">    <img src="img/fade4.jpg">    <div class="txt">     <h4 style="color:#68262C;">愚人節玩具大作戰</h4>     <p style="color:#333333;">每年的愚人節都是整蠱搞笑玩具紛紛現身的時候,</p>     <p style="color:#333333;">今年又有哪些意想不到的玩意呢?</p>     <p style="color:#333333;">小編為你搜羅了本年度大熱的整蠱玩具,</p>     <p style="color:#333333;">在愚人節這天選上幾樣,"愚"樂一下你的朋友們吧~</p>    </div>    </a></li>    <li><a href="#">    <img src="img/fade5.jpg">    <div class="txt">     <h4 style="color:#8D5930;">家居大換裝</h4>     <p style="color:#8D5930;">春天已經姍姍而來</p>     <p style="color:#8D5930;">青青小草破土而出,花兒爭奇鬥放</p>     <p style="color:#8D5930;">大自然到處都換上了春裝</p>     <p style="color:#8D5930;">是不是該給家居也換個裝了呢!</p>    </div>    </a></li>    <li><a href="#">    <img src="img/fade6.jpg">    <div class="txt">     <h4 style="color:#0C6796;">正是賞花好時節</h4>     <p style="color:#0C6796;">天氣逐漸回暖,花朵開始綻放</p>     <p style="color:#0C6796;">或素雅,或嬌豔,斑斕自若</p>     <p style="color:#0C6796;">春風暖意花香,直把遊人熏醉</p>     <p style="color:#0C6796;">煙花三月下江南,正是賞花好時節。</p>    </div>    </a></li>   </ul>   </div>   <ul class="btn clearfix">   <li>    <a href="#">    <img src="img/fade1.jpg" width="150" height="42">    <h4>玩轉早春自駕遊</h4>    </a>    <p>by <a href="#">不二周助</a></p>   </li>   <li>    <a href="#">    <img src="img/fade2.jpg" width="150" height="42">    <h4>十二星座屌絲男把妹秘籍</h4>    </a>    <p>by <a href="#">阿布大人</a></p>   </li>   <li>    <a href="#">    <img src="img/fade3.jpg" width="150" height="42">    <h4>風調日和清明天</h4>    </a>    <p>by <a href="#">伊麗莎白醬</a></p>   </li>   <li>    <a href="#">    <img src="img/fade4.jpg" width="150" height="42">    <h4>愚人節玩具大作戰</h4>    </a>    <p>by <a href="#">不二周助</a></p>   </li>   <li>    <a href="#">    <img src="img/fade5.jpg" width="150" height="42">    <h4>家居大換裝</h4>    </a>    <p>by <a href="#">櫻桃小丸子</a></p>   </li>   <li>    <a href="#">    <img src="img/fade6.jpg" width="150" height="42">    <h4>正是賞花好時節</h4>    </a>    <p>by <a href="#">伊麗莎白醬</a></p>   </li>   </ul>  </div>  </div>   </div> </div></div><script src="js/jquery-1.4.4.min.js"></script><script src="js/jquery.cxslide.min.js"></script><script>$('#cxslide_x').cxSlide({ plus: true, minus: true});$('#cxslide_y').cxSlide({ type: 'y'});$('#cxslide_fade').cxSlide({ events: 'mouseover', type: 'fade', speed: 300});</script></body></html>

以上就是為大家分享的jQuery焦點圖輪播特效代碼,希望大家可以喜歡。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.