jQuery手机端商品手指滑动切换特效代码下载



11 40 14



特效描述:手机端商品手指滑动切换,jQuery手机端商品手指滑动切换特效代码下载

代码结构

1. 引入CSS

<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/style.css">

2. 引入JS

<script src="js/modernizr.js"></script>
<script src="js/jquery-2.1.1.js"></script>
<script src="js/jquery.mobile.min.js"></script>
<script src="js/main.js"></script>

3. HTML代码

<p class="credits">产品焦点图特效</p>
<ul class="cd-gallery">
	<li>
		<a href="#">
			<ul class="cd-item-wrapper">
				<li class="selected">
					<img src="img/ugmonk-tshirt-1.jpg" alt="Preview image">
				</li>
				<li class="move-right" data-sale="true" data-price="$22">
					<img src="img/ugmonk-tshirt-2.jpg" alt="Preview image">
				</li>
				<li>
					<img src="img/ugmonk-tshirt-3.jpg" alt="Preview image">
				</li>
			</ul> <!-- cd-item-wrapper -->
		</a>
		<div class="cd-item-info">
			<b><a href="#0">Mountains</a></b>
			<em class="cd-price">$26</em>
		</div> <!-- cd-item-info -->
	</li>
	<li>
		<a href="#">
			<ul class="cd-item-wrapper">
				<li class="selected">
					<img src="img/ugmonk-cap-1.jpg" alt="Preview image">
				</li>
				<li class="move-right">
					<img src="img/ugmonk-cap-2.jpg" alt="Preview image">
				</li>
				<li>
					<img src="img/ugmonk-cap-3.jpg" alt="Preview image">
				</li>
			</ul> <!-- cd-item-wrapper -->
		</a>
		<div class="cd-item-info">
			<b><a href="#0">Baseball Cap</a></b>
			<em class="cd-price">$42</em>
		</div> <!-- cd-item-info -->
	</li>
	<li>
		<a href="#">
			<ul class="cd-item-wrapper">
				<li class="selected">
					<img src="img/ugmonk-bag-1.jpg" alt="Preview image">
				</li>
				<li class="move-right">
					<img src="img/ugmonk-bag-2.jpg" alt="Preview image">
				</li>
				<li>
					<img src="img/ugmonk-bag-3.jpg" alt="Preview image">
				</li>
			</ul> <!-- cd-item-wrapper -->
		</a>
		<div class="cd-item-info">
			<b><a href="#0">Messenger Bag</a></b>
			<em class="cd-price">$235</em>
		</div> <!-- cd-item-info -->
	</li>
	<li>
		<a href="#">
			<ul class="cd-item-wrapper">
				<li class="selected">
					<img src="img/ugmonk-tshirt-1.jpg" alt="Preview image">
				</li>
				<li class="move-right" data-sale="true" data-price="$22">
					<img src="img/ugmonk-tshirt-2.jpg" alt="Preview image">
				</li>
				<li>
					<img src="img/ugmonk-tshirt-3.jpg" alt="Preview image">
				</li>
			</ul> <!-- cd-item-wrapper -->
		</a>
		<div class="cd-item-info">
			<b><a href="#0">Mountains</a></b>
			<em class="cd-price">$26</em>
		</div> <!-- cd-item-info -->
	</li>
	<li>
		<a href="#">
			<ul class="cd-item-wrapper">
				<li class="selected">
					<img src="img/ugmonk-cap-1.jpg" alt="Preview image">
				</li>
				<li class="move-right">
					<img src="img/ugmonk-cap-2.jpg" alt="Preview image">
				</li>
				<li>
					<img src="img/ugmonk-cap-3.jpg" alt="Preview image">
				</li>
			</ul> <!-- cd-item-wrapper -->
		</a>
		<div class="cd-item-info">
			<b><a href="#0">Baseball Cap</a></b>
			<em class="cd-price">$42</em>
		</div> <!-- cd-item-info -->
	</li>
	<li>
		<a href="#">
			<ul class="cd-item-wrapper">
				<li class="selected">
					<img src="img/ugmonk-bag-1.jpg" alt="Preview image">
				</li>
				<li class="move-right">
					<img src="img/ugmonk-bag-2.jpg" alt="Preview image">
				</li>
				<li>
					<img src="img/ugmonk-bag-3.jpg" alt="Preview image">
				</li>
			</ul> <!-- cd-item-wrapper -->
		</a>
		<div class="cd-item-info">
			<b><a href="#0">Messenger Bag</a></b>
			<em class="cd-price">$235</em>
		</div> <!-- cd-item-info -->
	</li>
</ul> <!-- cd-gallery -->
<script src="js/main.js"></script> <!-- Resource jQuery -->
<div style="text-align:center;margin:1px 0; font:normal 14px/24px 'MicroSoft YaHei';">
</div>



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


热门标签: 滑动导航菜单 导航切换 图片头像上传 滑动选项卡切换 文件上传 图片滑动 图片切换 文本框 文字滑动 文字切换 下拉框 滑动手风琴 背景切换 复选 滑动星星打分 手风琴 单选 选项卡自动切换 登录框 视频切换 注册框 列表切换 搜索框 验证码 渐隐切换 二级联动 全屏切换 三级联动 切换按钮 城市选择 缩放切换 value赋值 筛选 按钮控制 购物车 颜色选择 表单提交 全选/反选 添加删除 添加标签 密码强度验证 表单验证 html5按钮动画 按钮样式 密码修改设置 滑动滑过 滚动切换 滑动选项卡切换 选项卡切换 滑动手风琴 切换按钮 form表单

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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