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



201 802 268



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



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


热门标签: 文字叠加 滚动导航菜单 图片放大镜 图片叠加 图片全屏 图片头像上传 带标题的焦点图 滚动切换 文字放大缩小 图片放大缩小 文字全屏 文件上传 带缩略图的幻灯片 带简介的焦点图 数字放大缩小 图片滚动 360全景 文本框 图片轮播 文字滚动 下拉框 自动滚动图片轮播 复选 图片文字滚动 马赛克幻灯片 单选 全屏滚动 全屏焦点图 登录框 页面滚动 注册框 搜索框 验证码 二级联动 三级联动 城市选择 value赋值 筛选 按钮控制 购物车 颜色选择 表单提交 全选/反选 添加删除 添加标签 密码强度验证 表单验证 html5按钮动画 按钮样式 密码修改设置 滚动流动 flash焦点图 自动滚动图片轮播 叠加浮动层 全屏焦点图 缩放放大缩小 重叠层叠叠加 全屏切换 切换按钮 宽屏全屏满屏 缩放切换 form表单 焦点图幻灯片

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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