jquery實現多屏多圖焦點圖切換特效的方法,jquery多圖

來源:互聯網
上載者:User

jquery實現多屏多圖焦點圖切換特效的方法,jquery多圖

本文執行個體講述了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>kinMaxShow 技巧效果</title><link type="text/css" href="_doc/base.css" rel="stylesheet"/><style type="text/css">body{ margin:0; padding:50px 0 0 0;}#show{width:600px; margin:0 auto;}#kinMaxShow{width:600px; height:300px;visibility:hidden; overflow:hidden;}#kinMaxShow p.title{position:absolute; left:0; bottom:0;text-indent:10px; line-height:30px;font-family:Verdana; color:#FFF; display:block;width:100%; height:30px; font-family:14px;filter:progid:DXImageTransform.Microsoft.gradient(startcolorstr=#aa000000,endcolorstr=#aa000000);background:rgba(0,0,0,0.5);}</style><script src="js/jquery-1.10.2.min.js" type="text/javascript"></script><script src="js/jquery.kinMaxShow-1.1.min.js" type="text/javascript"></script><script type="text/javascript">$(function(){ $("#kinMaxShow").kinMaxShow({ height:300, button:{ showIndex:true, normal:{width:'18px',height:'18px',lineHeight:'18px', right:'16px',bottom:'6px',fontSize:'12px',opacity:0.8, background:"#666666",border:"1px solid #999999", color:"#CCCCCC",marginRight:'6px' }, focus:{ background:"#CC0000",border:"1px solid #FF0000", color:"#000000" } }  });});</script></head><body> <div id="show">  <div id="kinMaxShow">   <div>    <a href="#" target="_blank"> <img src="images/demo_artifice_images/1.jpg" /></a>    <p class="title">新聞111</p>   </div>   <div>    <a href="#" target="_blank"> <img src="images/demo_artifice_images/2.jpg" /></a>    <p class="title">新聞222</p>   </div>   <div>    <a href="#" target="_blank"> <img src="images/demo_artifice_images/3.jpg" /></a>    <p class="title">新聞333</p>   </div>   <div>    <a href="#" target="_blank"> <img src="images/demo_artifice_images/4.jpg" /></a>    <p class="title">新聞444</p>   </div>   <div>    <a href="#" target="_blank"> <img src="images/demo_artifice_images/5.jpg" /></a>    <p class="title">新聞555</p>   </div>   <div>    <a href="#" target="_blank"> <img src="images/demo_artifice_images/6.jpg" /></a>    <p class="title">新聞666</p>   </div>   </div> </div></body></html>

jquery.kinMaxShow-1.1.min.js點擊此處本站下載。

希望本文所述對大家的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.