利用jQuery實現Win8布局lightbox彈出層插件



24 94 32



特效描述:利用jQuery實現 Win8布局 lightbox彈出層,利用jQuery實現Win8布局lightbox彈出層插件

代碼結構

1. 引入CSS

<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="js/lightbox/themes/default/jquery.lightbox.css" />
<link rel="stylesheet" type="text/css" href="js/lightbox/themes/default/jquery.lightbox.ie6.css" />

2. 引入JS

<script src="js/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/lightbox/jquery.lightbox.min.js"></script>

3. HTML代碼

<div class="frame">
    <div class="frame_1">
	      <div class="frame_1_1">
		      <div class="min"><a href="http://51qianduan.com?lightbox[iframe]=true&lightbox[width]=990&lightbox[height]=500" class="lightbox" rel="group1" ><img src="images2/index1.jpg"></a></div>
		       <div class="min"><a href="http://51qianduan.com?lightbox[iframe]=true&lightbox[width]=990&lightbox[height]=500" class="lightbox" rel="group1" ><img src="images2/index2.jpg"></a></div>
		       <div class="max"><a href="http://51qianduan.com?lightbox[iframe]=true&lightbox[width]=990&lightbox[height]=500" class="lightbox" rel="group1" ><img src="images2/index3.jpg"></a></div>
		       <div class="max"><a href="http://51qianduan.com?lightbox[iframe]=true&lightbox[width]=990&lightbox[height]=500" class="lightbox" rel="group1" ><img src="images2/index4.jpg"></a></div>
		  </div>
		    <div class="frame_1_1">
		      <div class="min"><a href="http://51qianduan.com?lightbox[iframe]=true&lightbox[width]=990&lightbox[height]=500" class="lightbox" rel="group1" ><img src="images2/index5.jpg"></a></div>
		       <div class="min"><a href="http://51qianduan.com?lightbox[iframe]=true&lightbox[width]=990&lightbox[height]=500" class="lightbox" rel="group1" ><img src="images2/index1.jpg"></a></div>
		       <div class="max"><a href="http://51qianduan.com?lightbox[iframe]=true&lightbox[width]=990&lightbox[height]=500" class="lightbox" rel="group1" ><img src="images2/index7.jpg"></a></div>
		       <div class="max"><a href="http://51qianduan.com?lightbox[iframe]=true&lightbox[width]=990&lightbox[height]=500" class="lightbox" rel="group1" ><img src="images2/index3.jpg">></a></div>
		  </div>
		   <div class="frame_1_1">
		      <div class="min"><a href="http://51qianduan.com?lightbox[iframe]=true&lightbox[width]=990&lightbox[height]=500" class="lightbox" rel="group1" ><img src="images2/index3.jpg"></a></div>
		       <div class="max"></div>
			     <div class="min"></div>
		       <div class="min"><a href="http://51qianduan.com?lightbox[iframe]=true&lightbox[width]=990&lightbox[height]=500" class="lightbox" rel="group1" ><img src="images2/index1.jpg"></a></div>
			   <div class="min"><a href="http://51qianduan.com?lightbox[iframe]=true&lightbox[width]=990&lightbox[height]=500" class="lightbox" rel="group1" ><img src="images2/index1.jpg"></a></div>
		  </div>
		   <div class="frame_1_1">
		      <div class="max"><a href="http://51qianduan.com?lightbox[iframe]=true&lightbox[width]=990&lightbox[height]=500" class="lightbox" rel="group1" ><img src="images2/index12.jpg"></a></div>
		       <div class="max"><a href="http://51qianduan.com?lightbox[iframe]=true&lightbox[width]=990&lightbox[height]=500" class="lightbox" rel="group1" ><img src="images2/index13.jpg"></a></div>
		       <div class="min"><a href="http://51qianduan.com?lightbox[iframe]=true&lightbox[width]=990&lightbox[height]=500" class="lightbox" rel="group1" ><img src="images2/index14.jpg"></a></div>
		       <div class="min"><a href="http://51qianduan.com?lightbox[iframe]=true&lightbox[width]=990&lightbox[height]=500" class="lightbox" rel="group1" ><img src="images2/index2.jpg"></a></div>
		  </div>
	</div>
</div>
<div style="text-align:center;clear:both">
</div>



用戶評論
大牛,別默默的看了,快登錄幫我點評一下吧!:)      登錄 | 注冊


熱門標簽: 彈出層拖動 窗口 彈出 彈窗 彈出層 提示框 對話框 遮罩 遮罩層 彈窗插件 滑動星星打分 切換按鈕 表單 表單美化 表單插件 表單美化插件 其他 瀑布流 提示框/彈出層 lightbox 按鈕控制 鼠標滑過 鼠標懸停 跟隨鼠標移動
×
×

注冊

官方QQ群

掃描上面二維碼加微信群

官方QQ群

jQuery/js討論群
群號:642649996
Css3+Html5討論群
群號:322131262

加群請備注:從官網了解到

老夫子电子