⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lightbox.css

📁 修改的lightbox脚本,实现仿QQ相册的手指翻页功能,以及右布局的方式.
💻 CSS
字号:
#lightbox{
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#lightCenterbox {
	border-collapse:collapse;
	border-spacing:0px;
	border:none;
	margin: 0 auto;
	background-color:#fff;
}
#lightCenterbox td {
	border:none;
}

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 80px;
	height: 100%;
	background: transparent url(/images/common/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(/images/common/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(/images/common/nextlabel.gif) right 15% no-repeat; }


#imageDataContainer{
	background-color: #fff;
	line-height: 17px;
	font-family: Verdana, Helvetica, sans-serif;
	font-size: 12px;
	color: #000000;
	width:150px;
	}

#imageData{	padding:0px; color: #666; }
#imageData #imageDetails{ text-align: left; }	
#imageData #caption{ display:block;width:100%;	}
#imageData #numberDisplay{ display: block;margin-top:12px;}
#imageData #bottomNav a {display:block;padding:6px 0px;}
#imageData #bottomNav a img {}
#imageData #bottomNav #bottomNavClose {margin:6px 0px;}
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
	}
	

.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */ 
	

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -