利用jQuery实现全屏动态滚动特效



95 378 127



特效描述:利用jQuery实现 全屏动态 滚动特效,利用jQuery实现全屏动态滚动特效

代码结构

1. 引入CSS

<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/jquery.scrollintro.css">
<link rel="stylesheet" href="css/animate.css">
<link href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&subset=latin" rel="stylesheet">

2. 引入JS

<script src="js/jquery.min.js" type="text/javascript"></script>
<script src="js/modernizr.custom.49511.js" type="text/javascript"></script>
<script src="js/jquery.scrollintro.min.js" type="text/javascript"></script>

3. HTML代码

<div class="wrapper">
	<div class="navigation">
		<ul>
			<li><a href="#content1"><span class="navSelect"></span></a></li>
			<li><a href="#content2"><span></span></a></li>
			<li><a href="#content3"><span></span></a></li>
			<li><a href="#content4"><span></span></a></li>
		</ul>
	</div>
	<div class="scroll-content" id="content1">
		<h3 class="animate-block">Click the image to next content</h3>
		<div class="content100-block animate-block">
			<img src="imgs/triworks_abstract31.jpg" class="animate-block full-image" id="click2next" />
			<p class="animate-block full-text">Lorem ipsum link to portfolio amet, 
			consectetur adipisicing elit. Sunt, iure, tempore saepe ab sed a doloribus 
			ipsam veritatis explicabo officia fugit eligendi dicta autem aperiam 
			facilis illum libero accusantium in.</p>
			<p class="animate-block full-text">Veritatis explicabo illum libero 
			accusantium in.</p>
		</div>
	</div>
	<div class="scroll-content" id="content2" data-easein="bounceInUp">
		<h3 class="animate-block">Say something important here</h3>
		<div class="animate-block content240-block">
			<img src="imgs/icons/finder.png" class="image240-block" />
			<p class="animate-block caption">
			<a href="http://codecanyon.net/user/sike">Link to my profile.</a> This 
			some little information here, you can put it under the image.</p>
		</div>
		<div class="animate-block content240-block">
			<img src="imgs/icons/foler.png" class="image240-block" />
			<p class="animate-block caption">Et quas consequatur architecto itaque 
			accusantium dolor quod obcaecati veritatis dolorem velit enim minima!</p>
		</div>
		<div class="animate-block content240-block">
			<img src="imgs/icons/fonts.png" class="image240-block" />
			<p class="animate-block caption">Lorem ipsum dolor sit amet, consectetur 
			adipisicing elit. Nostrum, voluptas, alias, molestiae quos.</p>
		</div>
		<div class="animate-block content240-block">
			<img src="imgs/icons/game.png" class="image240-block" />
			<p class="animate-block caption">Lorem ipsum dolor sit amet, consectetur 
			adipisicing elit. Nobis, assumenda tenetur iusto ipsa illum incidun.</p>
		</div>
	</div>
	<div class="scroll-content" id="content3" data-easein="rollIn">
		<h3 class="animate-block">Say something important here</h3>
		<div class="animate-block content240-block">
			<img src="imgs/icons/homegroup.png" class="image240-block" />
			<p class="animate-block caption">
			<a href="http://codecanyon.net/user/sike">Link to my profile.</a> This 
			some little information here, you can put it under the image.</p>
		</div>
		<div class="animate-block content240-block">
			<img src="imgs/icons/control.png" class="image240-block" />
			<p class="animate-block caption">Et quas consequatur architecto itaque 
			accusantium dolor quod obcaecati veritatis dolorem velit enim minima!</p>
		</div>
		<div class="animate-block content240-block">
			<img src="imgs/icons/gadgets.png" class="image240-block" />
			<p class="animate-block caption">Lorem ipsum dolor sit amet, consectetur 
			adipisicing elit. Nostrum, voluptas, alias, molestiae quos.</p>
		</div>
		<div class="animate-block content240-block">
			<img src="imgs/icons/connect.png" class="image240-block" />
			<p class="animate-block caption">Lorem ipsum dolor sit amet, consectetur 
			adipisicing elit. Nobis, assumenda tenetur iusto ipsa illum incidun.</p>
		</div>
	</div>
	<div class="scroll-content" id="content4">
		<h3 class="animate-block">Support circle thumbnail tooo</h3>
		<div class="content240-block animate-block">
			<img src="imgs/icons/signal.png" class="circle-image" />
			<h4 class="subtitle">Wifi</h4>
			<p class="animate-block caption">Lorem Pariatur iusto ex quo iusto sapiente 
			facere officiis. </p>
		</div>
		<div class="content240-block animate-block">
			<img src="imgs/icons/music.png" class="circle-image" />
			<h4 class="subtitle">Music</h4>
			<p class="animate-block caption">Lorem ipsum dolor sit amet, consectetur 
			adipisicing elit. </p>
		</div>
		<div class="content240-block animate-block">
			<img src="imgs/icons/phone.png" class="circle-image" />
			<h4 class="subtitle">Phone</h4>
			<p class="animate-block caption">Lorem ipsum dolor sit amet, consectetur 
			adipisicing elit. iusto sapiente facere officiis. </p>
		</div>
		<div class="content240-block animate-block">
			<img src="imgs/icons/clock.png" class="circle-image" />
			<h4 class="subtitle">Clock</h4>
			<p class="animate-block caption">Lorem ipsum dolor sit amet, consectetur 
			adipisicing elit. iusto sapiente facere officiis. </p>
		</div>
	</div>
</div>
<div style="text-align:center;clear:both">
</div>



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


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

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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