利用jQuery实现渐变隐藏按钮焦点图切换



65 257 86



特效描述:利用jQuery实现 渐变隐藏按钮 焦点图切换,利用jQuery实现渐变隐藏按钮焦点图切换

代码结构

1. 引入CSS

<link rel="stylesheet" media="all" href="css/style.css" />
<link rel="stylesheet" href="css/lof-slider.css" media="all" />
<link rel="stylesheet" media="screen" href="css/carousel.css" />
<link href="http://fonts.googleapis.com/css?family=Voltaire" rel="stylesheet" type="text/css">
<link rel="stylesheet" media="all" href="css/skin.css" />
<link rel="stylesheet" media="all" href="css/lessframework.css" />
<link rel="stylesheet" href="css/flexslider.css">
<link rel="stylesheet" media="all" href="css/style.css" />
<link rel="stylesheet" href="css/lof-slider.css" media="all" />
<link rel="stylesheet" media="screen" href="css/carousel.css" />
<link href="http://fonts.googleapis.com/css?family=Voltaire" rel="stylesheet" type="text/css">
<link rel="stylesheet" media="all" href="css/skin.css" />
<link rel="stylesheet" media="all" href="css/lessframework.css" />
<link rel="stylesheet" href="css/flexslider.css">

2. 引入JS

<script src="js/jquery-1.7.1.min.js"></script>
<script src="js/custom.js"></script>
<script src="js/tabs.js"></script>
<script src="js/css3-mediaqueries.js"></script>
<script src="js/jquery.columnizer.min.js"></script>
<script src="js/jquery.isotope.min.js"></script>
<script src="js/jquery.easing.js"></script>
<script src="js/lof-slider.js"></script>
<script type="text/javascript" src="js/jquery.jcarousel.min.js"></script>
<script src="js/modernizr.js"></script>
<script src="js/jquery.flexslider.js"></script>
<script src="js/jquery-1.7.1.min.js"></script>
<script src="js/custom.js"></script>
<script src="js/tabs.js"></script>
<script src="js/css3-mediaqueries.js"></script>
<script src="js/jquery.columnizer.min.js"></script>
<script src="js/jquery.isotope.min.js"></script>
<script src="js/jquery.easing.js"></script>
<script src="js/lof-slider.js"></script>
<script type="text/javascript" src="js/jquery.jcarousel.min.js"></script>
<script src="js/modernizr.js"></script>
<script src="js/jquery.flexslider.js"></script>

3. HTML代码

<!doctype html>
<html class="no-js">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Isotope -->
<!-- Lof slider -->
<!-- ENDS slider -->
<!-- JCarousel -->
<!-- ENDS JCarousel -->
<!-- GOOGLE FONTS -->
<!-- modernizr -->
<!-- SKIN -->
<!-- Less framework -->
<!-- flexslider -->
</head>
<body class="home">
		<header>
			<div class="wrapper cf">
				<!-- SLIDER -->
				<div id="home-slider" class="lof-slidecontent">
					<div class="preload">
						<div>
						</div>
					</div>
					<!-- slider content -->
					<div class="main-slider-content">
						<ul class="sliders-wrap-inner">
							<li>
							<img src="img/dummies/slides/01.jpg" title alt="alt" />
							<div class="slider-description">
								<h4>Lorem ipsum dolor</h4>
								<p>Pellentesque habitant morbi tristique 
								senectus et netus et malesuada fames ac turpis 
								egestas. Vestibulum tortor quam, feugiat vitae, 
								ultricies eget, tempor sit amet, ante. Donec eu 
								libero sit amet quam egestas semper. Aenean 
								ultricies mi vitae est...
								<a class="link" href="#">Read more </a></p>
							</div>
							</li>
							<li>
							<img src="img/dummies/slides/02.jpg" title alt="alt" />
							<div class="slider-description">
								<h4>Lorem ipsum dolor</h4>
								<p>Pellentesque habitant morbi tristique 
								senectus et netus et malesuada fames ac turpis 
								egestas. Vestibulum tortor quam, feugiat vitae, 
								ultricies eget, tempor sit amet, ante. Donec eu 
								libero sit amet quam egestas semper. Aenean 
								ultricies mi vitae est...
								<a class="link" href="#">Read more </a></p>
							</div>
							</li>
							<li>
							<img src="img/dummies/slides/03.jpg" title alt="alt" />
							<div class="slider-description">
								<h4>Lorem ipsum dolor</h4>
								<p>Pellentesque habitant morbi tristique 
								senectus et netus et malesuada fames ac turpis 
								egestas. Vestibulum tortor quam, feugiat vitae, 
								ultricies eget, tempor sit amet, ante. Donec eu 
								libero sit amet quam egestas semper. Aenean 
								ultricies mi vitae est...
								<a class="link" href="#">Read more </a></p>
							</div>
							</li>
							<li>
							<img src="img/dummies/slides/04.jpg" title alt="alt" />
							<div class="slider-description">
								<h4>Lorem ipsum dolor</h4>
								<p>Pellentesque habitant morbi tristique 
								senectus et netus et malesuada fames ac turpis 
								egestas. Vestibulum tortor quam, feugiat vitae, 
								ultricies eget, tempor sit amet, ante. Donec eu 
								libero sit amet quam egestas semper. Aenean 
								ultricies mi vitae est...
								<a class="link" href="#">Read more </a></p>
							</div>
							</li>
							<li>
							<img src="img/dummies/slides/05.jpg" title alt="alt" />
							<div class="slider-description">
								<h4>Lorem ipsum dolor</h4>
								<p>Pellentesque habitant morbi tristique 
								senectus et netus et malesuada fames ac turpis 
								egestas. Vestibulum tortor quam, feugiat vitae, 
								ultricies eget, tempor sit amet, ante. Donec eu 
								libero sit amet quam egestas semper. Aenean 
								ultricies mi vitae est...
								<a class="link" href="#">Read more </a></p>
							</div>
							</li>
							<li>
							<img src="img/dummies/slides/06.jpg" title alt="alt" />
							<div class="slider-description">
								<h4>Lorem ipsum dolor</h4>
								<p>Pellentesque habitant morbi tristique 
								senectus et netus et malesuada fames ac turpis 
								egestas. Vestibulum tortor quam, feugiat vitae, 
								ultricies eget, tempor sit amet, ante. Donec eu 
								libero sit amet quam egestas semper. Aenean 
								ultricies mi vitae est...
								<a class="link" href="#">Read more </a></p>
							</div>
							</li>
							<li>
							<img src="img/dummies/slides/07.jpg" title alt="alt" />
							<div class="slider-description">
								<h4>Lorem ipsum dolor</h4>
								<p>Pellentesque habitant morbi tristique 
								senectus et netus et malesuada fames ac turpis 
								egestas. Vestibulum tortor quam, feugiat vitae, 
								ultricies eget, tempor sit amet, ante. Donec eu 
								libero sit amet quam egestas semper. Aenean 
								ultricies mi vitae est...
								<a class="link" href="#">Read more </a></p>
							</div>
							</li>
						</ul>
					</div>
					<!-- ENDS slider content -->
					<!-- slider nav -->
					<div class="navigator-content">
						<div class="navigator-wrapper">
							<ul class="navigator-wrap-inner">
								<li>
								<img src="img/dummies/slides/01_thumb.jpg" alt="alt" /></li>
								<li>
								<img src="img/dummies/slides/02_thumb.jpg" alt="alt" /></li>
								<li>
								<img src="img/dummies/slides/03_thumb.jpg" alt="alt" /></li>
								<li>
								<img src="img/dummies/slides/04_thumb.jpg" alt="alt" /></li>
								<li>
								<img src="img/dummies/slides/05_thumb.jpg" alt="alt" /></li>
								<li>
								<img src="img/dummies/slides/06_thumb.jpg" alt="alt" /></li>
								<li>
								<img src="img/dummies/slides/07_thumb.jpg" alt="alt" /></li>
							</ul>
						</div>
						<div class="button-next">
							Next</div>
						<div class="button-previous">
							Previous</div>
					</div>
					<!-- slider nav --></div></div>
		</header>
<br><br><br><br><br><br><br><br><br><br><br>
<div style="text-align:center;clear:both">
</div>
</body>
</html>



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


热门标签: 图片拖动 图片放大镜 图片叠加 图片翻转旋转 图片延迟加载 图片淡出淡进 图片全屏 图片头像上传 二维码 滑动滑过 滚动切换 滑动选项卡切换 图片广告 图片放大缩小 html5图片动画 带缩略图的幻灯片 地图 flash焦点图 图片滚动 图片滑动 图片切换 图片收缩展开 旋转木马 图片轮播 自动滚动图片轮播 图标导航菜单 选项卡切换 滑动手风琴 背景切换 手风琴 切换按钮 form表单 图表 焦点图幻灯片 图片 头像截图 缩略图 带缩略图的幻灯片 带简介的焦点图 图片滑动 图片切换 按钮控制

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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