国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > JavaScript > 正文

jquery實現(xiàn)多屏多圖焦點圖切換特效的方法

2019-11-20 12:33:33
字體:
來源:轉載
供稿:網(wǎng)友

本文實例講述了jquery實現(xiàn)多屏多圖焦點圖切換特效的方法。分享給大家供大家參考。具體實現(xiàn)方法如下:

<!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程序設計有所幫助。

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 大竹县| 简阳市| 什邡市| 扬中市| 遂昌县| 丰都县| 丰宁| 平顺县| 新余市| 东安县| 韶山市| 揭东县| 舞阳县| 奉新县| 永春县| 双城市| 桂东县| 临城县| 巫山县| 乌鲁木齐市| 栖霞市| 万山特区| 宁乡县| 寻甸| 建湖县| 民权县| 全州县| 玉门市| 汨罗市| 嘉善县| 余干县| 乌拉特前旗| 临桂县| 沂南县| 祁门县| 博野县| 安仁县| 安顺市| 锡林浩特市| 施秉县| 金秀|