jQuery网格布局点击弹出切换特效



150 599 200



特效描述:jQuery 网格布局 点击弹出 切换特效,jQuery网格布局点击弹出切换特效

代码结构

1. 引入CSS

<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css">

2. 引入JS

<script src="js/jquery-2.1.1.min.js" type="text/javascript"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="js/grid-to-carousel.js"></script>

3. HTML代码

<br>
<div class="container pd50">
	<div class="features">
		<div class="features-container">
			<div id="carousel-example-generic" class="hidden carousel slide" data-ride="carousel">
				<!-- Indicators -->
				<ol class="carousel-indicators">
					<li data-target="#carousel-example-generic" data-slide-to="0"></li>
					<li data-target="#carousel-example-generic" data-slide-to="1"></li>
					<li data-target="#carousel-example-generic" data-slide-to="2"></li>
					<li data-target="#carousel-example-generic" data-slide-to="3"></li>
					<li data-target="#carousel-example-generic" data-slide-to="4"></li>
					<li data-target="#carousel-example-generic" data-slide-to="5"></li>
				</ol>
				<!-- Wrapper for slides -->
				<div class="carousel-inner" role="listbox">
					<div class="item">
						<div class="content content-green">
							<span class="close-btn">✕</span>
							<img class="feature-img" src="img/feature-img.jpg">
							<h2>Designed for your whole team, not just designers</h2>
							<p>
								<strong>CreativeCMS</strong> offers your whole team access as required to templates, code 
								<span class="highlight-yellow">(HTML, CSS, JavaScript)</span>, fonts and images, providing 
								unlimited scope to extend the default range of components <span class="highlight-yellow">
								(Blog, Case studies and all.)</span> to fit the bespoke needs of any client.
							</p>
						</div>
					</div>
					<div class="item">
						<div class="content content-yellow">
							<span class="close-btn">✕</span>
							<h2>A modern CMS</h2>
							<p>A platform built for the modern business.</p>
						</div>
					</div>
					<div class="item">
						<div class="content content-white">
							<span class="close-btn">✕</span>
							<h2>One United Team</h2>
							<p>Designed for your whole team, not just designers.</p>
						</div>
					</div>
					<div class="item">
						<div class="content content-grey">
							<span class="close-btn">✕</span>
							<h2>Nimble & Lively</h2>
							<p>New websites up and running in seconds.</p>
						</div>
					</div>
					<div class="item">
						<div class="content content-red">
							<span class="close-btn">✕</span>
							<h2>Bright Content</h2>
							<p>A proven CMS to support your success.</p>
						</div>
					</div>
					<div class="item">
						<div class="content content-white-green">
							<span class="close-btn">✕</span>
							<h2>Work Efficiently</h2>
							<p>Benefit from regular upgrades without disruption.</p>
						</div>
					</div>
				</div>
				<!-- Controls -->
				<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
					<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
					<span class="sr-only">Previous</span>
				</a>
				<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
					<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
					<span class="sr-only">Next</span>
				</a>
			</div>
			<div class="grid">
				<div class="row">
					<div class="col-xs-4 col-md-3">
						<div class="content content-green">
							<h2>One Central Location</h2>
							<p>Easily manage your client base.</p>
						</div>
					</div>
					<div class="col-xs-4 col-md-3">
						<div class="content content-yellow">
							<h2>A modern CMS</h2>
							<p>A platform built for the modern business.</p>
						</div>
					</div>
					<div class="col-xs-4 col-md-6">
						<div class="content content-white">
							<img src="img/united-icon.png" alt="">
							<h2>One United Team</h2>
							<p>Designed for your whole team, not just designers.</p>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-xs-4 col-md-6">
						<div class="content content-grey">
							<img src="img/browser-icon.jpg" alt="">
							<h2>Nimble & Lively</h2>
							<p>New websites up and running in seconds.</p>
						</div>
					</div>
					<div class="col-xs-4 col-md-3">
						<div class="content content-red">
							<h2>Bright Content</h2>
							<p>A proven CMS to support your success.</p>
						</div>
					</div>
					<div class="col-xs-4 col-md-3">
						<div class="content content-white-green">
							<h2>Work Efficiently</h2>
							<p>Benefit from regular upgrades without disruption.</p>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script>
	$(function() {
		$('.features-container').gridToCarousel();
	});
</script>



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


热门标签: 顶部悬浮 底部悬浮 浮动导航菜单 导航切换 右键菜单 图片头像上传 缩略图 图片广告 文字提示框 文件上传 图片相册 对联广告 图片切换 提示框/弹出层 文本框 图片墙 文字切换 layer 下拉框 百叶窗 叠加浮动层 背景切换 lightbox 复选 图片网格 手风琴 单选 图片九宫格 Tooltip工具提示框 选项卡自动切换 登录框 浮动提示框 视频切换 注册框 图片高亮 html5弹窗动画 列表切换 搜索框 图片对比 验证码 图片文字 渐隐切换 二级联动 单排图片 全屏切换 三级联动 响应式图片 切换按钮 城市选择 图片列表 缩放切换 value赋值 筛选 按钮控制 购物车 颜色选择 表单提交 全选/反选 添加删除 添加标签 密码强度验证 表单验证 html5按钮动画 按钮样式 密码修改设置 图片拖动 图片放大镜 图片叠加 图片翻转旋转 图片延迟加载 图片淡出淡进 图片全屏 图片头像上传 二维码 滚动切换 滑动选项卡切换 图片广告 图片放大缩小 html5图片动画 带缩略图的幻灯片 地图 图片滚动 图片滑动 图片切换 图片收缩展开 旋转木马 图片轮播 悬浮浮动漂浮 自动滚动图片轮播 图标导航菜单 弹出层拖动 选项卡切换 滑动手风琴 背景切换 窗口提示框 手风琴 浮动提示框 切换按钮 form表单 图表 图片 头像截图

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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