jquery實(shí)現(xiàn)多屏多圖焦點(diǎn)圖切換特效的方法
本文實(shí)例講述了jquery實(shí)現(xiàn)多屏多圖焦點(diǎn)圖切換特效的方法。分享給大家供大家參考。具體實(shí)現(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點(diǎn)擊此處本站下載。
希望本文所述對大家的jQuery程序設(shè)計(jì)有所幫助。
相關(guān)文章
jquery mobile實(shí)現(xiàn)撥打電話功能的幾種方法
在做一個(gè)便民服務(wù)電話,用到移動(dòng)web中列出的電話,點(diǎn)擊需要實(shí)現(xiàn)調(diào)用通訊錄,撥打電話功能,有需要的朋友可以參考一下2013-08-08PHP結(jié)合jQuery實(shí)現(xiàn)的評論頂、踩功能
本文給大家分享的功能是這樣的:你點(diǎn)擊一下頂或踩按鈕,記錄數(shù)值到數(shù)據(jù)庫,并且有顏色的背景跟著變,按照百分比的變化。這樣就可以通過背景顏色一眼就看清楚那邊支持的人比較多。2015-07-07jquery與google map api結(jié)合使用 控件,監(jiān)聽器
關(guān)于jquery的獲取不再此處累贅,網(wǎng)上有許多關(guān)于jquery的介紹。2010-03-03jquery中checkbox使用方法簡單實(shí)例演示
這篇文章主要介紹了jquery中checkbox使用方法簡單實(shí)例演示,感興趣的小伙伴們可以參考一下2015-11-11jQuery實(shí)現(xiàn)訂單提交頁發(fā)送短信功能前端處理方法
這篇文章主要介紹了jQuery實(shí)現(xiàn)訂單提交頁發(fā)送短信功能前端處理方法,涉及jQuery響應(yīng)鼠標(biāo)事件及針對頁面元素的樣式與字符串正則操作相關(guān)技巧,需要的朋友可以參考下2016-07-07jQuery循環(huán)動(dòng)畫與獲取組件尺寸的方法
這篇文章主要介紹了jQuery循環(huán)動(dòng)畫與獲取組件尺寸的方法,實(shí)例分析了animate用法及組件的操作技巧,具有一定參考借鑒價(jià)值,需要的朋友可以參考下2015-02-02Query常用DIV操作獲取和設(shè)置長度寬度的實(shí)現(xiàn)方法
下面小編就為大家?guī)硪黄猀uery常用DIV操作獲取和設(shè)置長度寬度的實(shí)現(xiàn)方法。小編覺得挺不錯(cuò)的,現(xiàn)在就分享給大家,也給大家做個(gè)參考。一起跟隨小編過來看看吧2016-09-09jQuery 鼠標(biāo)經(jīng)過(hover)事件的延時(shí)處理示例
一般情況下,我們是不對鼠標(biāo)hover事件進(jìn)行延時(shí)處理。但是,有時(shí)候,為了避免不必要的干擾,常會(huì)對鼠標(biāo)hover事件進(jìn)行延時(shí)處理2014-04-04