jQuery全屏图片叠加缩放切换点击查看大图效果代码



如需定制开发(网站开发、二次开发)在线咨询,请点击>> QQ:753511799

295 1177 393



特效描述:jQuery 全屏图片 叠加缩放切换 点击查看大图。屏图片叠加缩放切换点击查看大图

代码结构

1. 引入CSS

<link rel="stylesheet" href="css/style.css" type="text/css" />
<link rel='stylesheet' href='js/fancybox/jquery.fancybox-1.3.4.css' type='text/css' />

2. 引入JS

<script type='text/javascript' src='js/jquery.js'></script>
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<script type='text/javascript' src='js/fancybox/jquery.fancybox-1.3.4.pack.js'></script>
<script type="text/javascript" src="js/custom.js"></script>

3. HTML代码

<div id="featured">
	<div class="container">
		<div class="slide active">
			<img src="images/1.jpg" width='500' height='335' />
			<div class="description"><h2>网页特效 - www.dijiuzhanzhang.com</h2></div>
			<div class="additional"><a class="prevslide" href="#">Previous</a><a class="nextslide" href="#">Next</a><a class="featured-zoom fancybox" href="images/1.jpg" rel="featured">放大</a><a class="featured-more" href="http://www.dijiuzhanzhang.com/">更多e</a> </div>
		</div>
		<div class="slide">
			<img src="images/2.jpg" width='500' height='335' />
			<div class="description"><h2>JS代码下载 - www.dijiuzhanzhang.com/Js</h2></div>
			<div class="additional"><a class="prevslide" href="#">Previous</a><a class="nextslide" href="#">Next</a><a class="featured-zoom fancybox" href="images/2.jpg" rel="featured">放大</a><a class="featured-more" href="http://www.dijiuzhanzhang.com/Js/">更多</a> </div>
		</div>
		<div class="slide">
			<img src="images/3.jpg" width='500' height='335' />
			<div class="description"><h2>PSD下载 - www.dijiuzhanzhang.com/Psd</h2></div>
			<div class="additional"><a class="prevslide" href="#">Previous</a><a class="nextslide" href="#">Next</a> <a class="featured-zoom fancybox" href="images/3.jpg" rel="featured">放大</a><a class="featured-more" href="http:// www.dijiuzhanzhang.com/Psd">更多</a> </div>
		</div>
		<div class="slide">
			<img src="images/1.jpg" width='500' height='335' />
			<div class="description"><h2>网页特效 - www.dijiuzhanzhang.com</h2></div>
			<div class="additional"><a class="prevslide" href="#">Previous</a><a class="nextslide" href="#">Next</a><a class="featured-zoom fancybox" href="images/1.jpg" rel="featured">放大</a><a class="featured-more" href="http://www.dijiuzhanzhang.com/">更多e</a> </div>
		</div>
		<div class="slide">
			<img src="images/2.jpg" width='500' height='335' />
			<div class="description"><h2>JS代码下载 - www.dijiuzhanzhang.com/Js</h2></div>
			<div class="additional"><a class="prevslide" href="#">Previous</a><a class="nextslide" href="#">Next</a><a class="featured-zoom fancybox" href="images/2.jpg" rel="featured">放大</a><a class="featured-more" href="http://www.dijiuzhanzhang.com/Js/">更多</a> </div>
		</div>
		<div class="slide">
			<img src="images/3.jpg" width='500' height='335' />
			<div class="description"><h2>PSD下载 - www.dijiuzhanzhang.com/Psd</h2></div>
			<div class="additional"><a class="prevslide" href="#">Previous</a><a class="nextslide" href="#">Next</a> <a class="featured-zoom fancybox" href="images/3.jpg" rel="featured">放大</a><a class="featured-more" href="http:// www.dijiuzhanzhang.com/Psd">更多</a> </div>
		</div>
		<div class="slide">
			<img src="images/3.jpg" width='500' height='335' />
			<div class="description"><h2>PSD下载 - www.dijiuzhanzhang.com/Psd</h2></div>
			<div class="additional"><a class="prevslide" href="#">Previous</a><a class="nextslide" href="#">Next</a> <a class="featured-zoom fancybox" href="images/3.jpg" rel="featured">放大</a><a class="featured-more" href="http:// www.dijiuzhanzhang.com/Psd">更多</a> </div>
		</div>
	</div>
	<div id="slider-left-overlay"></div>
	<div id="slider-right-overlay"></div>
</div>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册



×
×
51前端

注册

×
绑定手机

请绑定手机号,在继续操作

×
单次下载支付

应付金额:279

支付完成后,回到下载页面,在进行下载

官方QQ群
意见反馈
qq群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

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