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)文章
input 輸入框獲得/失去焦點(diǎn)時(shí)隱藏/顯示文字(jquery版)
input輸入框在獲得或失去焦點(diǎn)時(shí)隱藏或顯示文字,這樣的焦點(diǎn)效果想必很多朋友在填寫form表格的時(shí)候都曾見識(shí)過吧,本文使用jquery實(shí)現(xiàn)以下,感興趣的朋友可以參考下哈2013-04-04
BootStrap中jQuery插件Carousel實(shí)現(xiàn)輪播廣告效果
輪播廣告在網(wǎng)站中的應(yīng)用實(shí)在是太常見了,下面說一說怎樣使用bootstrap中的Carousel插件來實(shí)現(xiàn)輪播廣告效果,感興趣的朋友一起看看吧2017-03-03
基于jQuery使用Ajax動(dòng)態(tài)執(zhí)行模糊查詢功能
這篇文章主要介紹了基于jQuery使用Ajax動(dòng)態(tài)執(zhí)行模糊查詢功能,通過實(shí)例代碼相結(jié)合的形式給大家介紹的非常詳細(xì),具有一定的參考借鑒價(jià)值,需要的朋友可以參考下2018-07-07
jquery實(shí)現(xiàn)向下滑出的二級導(dǎo)航下滑菜單效果
這篇文章主要介紹了jquery實(shí)現(xiàn)向下滑出的二級導(dǎo)航下滑菜單效果,涉及jquery實(shí)現(xiàn)頁面結(jié)點(diǎn)樣式動(dòng)態(tài)變換效果的實(shí)現(xiàn)技巧,非常具有實(shí)用價(jià)值,需要的朋友可以參考下2015-08-08
jquery dialog open后,服務(wù)器端控件失效的快速解決方法
本篇文章是對jquery dialog open后,服務(wù)器端控件失效的快速解決方法。進(jìn)行了詳細(xì)的分析介紹,需要的朋友可以過來參考下,希望對大家有所幫助2013-12-12
jQuery插件HighCharts繪制的基本折線圖效果示例【附demo源碼下載】
這篇文章主要介紹了jQuery插件HighCharts繪制的基本折線圖效果,結(jié)合實(shí)例形式分析了jQuery基于HighCharts插件繪制圖形的具體實(shí)現(xiàn)步驟與相關(guān)操作技巧,并附帶demo源碼供讀者下載參考,需要的朋友可以參考下2017-03-03

