利用jQuery实现Win8布局lightbox弹出层插件



30 116 39



特效描述:利用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

加群请备注:从官网了解到