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



161 643 215



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



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


热门标签: 滚动 滚动条 页面滚动 滚动插件 滚动条插件 滚动条美化 flash焦点图 flash幻灯片 flashbanner flash图片轮播 自动滚动图片轮播 叠加浮动层 全屏焦点图 放大缩小 变大变小 放大 缩小 变大 变小 缩放 层叠叠加 叠加层叠 层叠 叠加 加载更多 全屏切换 切换按钮 宽屏全屏 宽屏 全屏 页面全屏 页面宽屏 缩放切换 表单 表单美化 表单插件 表单美化插件 焦点图 幻灯片 轮播图 bar焦点图 图片叠加 图片层叠 图片全屏 带标题的焦点图 图片放大缩小 图片缩放 图片大小 图片放大 图片缩小 图片变大 图片变小 图片滚动 图片滚动条 按钮控制

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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