jQuery实现产品图片细节描述



26 100 34



特效描述:jQuery实现 产品图片 细节描述,jQuery实现产品图片细节描述

代码结构

1. 引入CSS

<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/image_mapper.css">

2. 引入JS

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery-ui.js"></script>
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="js/jquery.image_mapper.js"></script>
<script type="text/javascript" src="js/jquery.mousewheel.min.js"></script>
<script type="text/javascript" src="js/jquery.mCustomScrollbar.min.js"></script>
<script type="text/javascript" src="js/rollover.js"></script>

3. HTML代码

<br>
<div id="imagemapper1-wrapper" class="imagemapper-wrapper">
	<img id="imapper1-map-image" src="images/22.jpg" />
	<div id="imapper1-pin7-wrapper" class="imapper1-pin-wrapper imapper-pin-wrapper" data-left="64.758726973802503%" data-top="79.45694305341871%" data-open-position="bottom" data-pin-color data-pin-icon>
		<img id="imapper1-pin7" class="imapper1-pin" src="images/custom-pin4.png">
		<div id="imapper1-pin7-content-wrapper" class="imapper1-pin-content-wrapper imapper-content-wrapper" data-text-color="#dbdbdb" data-back-color="#1fb896" data-border-color="#1fb896" data-border-radius="6px" data-width="200px" data-height="150px" data-font="Dosis">
			<div id="imapper1-pin7-content" class="imapper-content">
				<p class="imapper-content-header">QUALITY STITCHES</p>
				<div class="imapper-content-text">
					High quality stitching make this piece practically indestructible. 
					Perfect for a long-term solution. Along with the cutting-edge 
					design it can last for a long long time. </div>
			</div>
		</div>
	</div>
	<div id="imapper1-pin5-wrapper" class="imapper1-pin-wrapper imapper-pin-wrapper" data-left="49.25201380897584%" data-top="15.873827531819455%" data-open-position="bottom" data-pin-color data-pin-icon>
		<img id="imapper1-pin5" class="imapper1-pin" src="images/custom-pin4.png">
		<div id="imapper1-pin5-content-wrapper" class="imapper1-pin-content-wrapper imapper-content-wrapper" data-text-color="#dbdbdb" data-back-color="#1fb896" data-border-color="#1fb896" data-border-radius="6px" data-width="200px" data-height="150px" data-font="Dosis">
			<div id="imapper1-pin5-content" class="imapper-content">
				<p class="imapper-content-header">COMFORTABLE HOOD</p>
				<div class="imapper-content-text">
					Looking to invest in a really nice plain, grey white or black 
					(or navy etc) hoody that you can wear all the time, in and out 
					the house? </div>
			</div>
		</div>
	</div>
	<div id="imapper1-pin6-wrapper" class="imapper1-pin-wrapper imapper-pin-wrapper" data-left="31.758726973802503%" data-top="53.45694305341871%" data-open-position="bottom" data-pin-color data-pin-icon>
		<img id="imapper1-pin6" class="imapper1-pin" src="images/custom-pin4.png">
		<div id="imapper1-pin6-content-wrapper" class="imapper1-pin-content-wrapper imapper-content-wrapper" data-text-color="#dbdbdb" data-back-color="#1fb896" data-border-color="#1fb896" data-border-radius="6px" data-width="200px" data-height="150px" data-font="Dosis">
			<div id="imapper1-pin6-content" class="imapper-content">
				<p class="imapper-content-header">QUALITY STITCHES</p>
				<div class="imapper-content-text">
					High quality stitching make this piece practically indestructible. 
					Perfect for a long-term solution. Along with the cutting-edge 
					design it can last for a long long time. </div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
		(function($) {
			$(window).load(function() {
				$('#imagemapper1-wrapper').imageMapper({itemOpenStyle: 'click', itemDesignStyle: 'responsive'});
			});
		})(jQuery);
	</script>
<div style="text-align:center;clear:both">
</div>



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


热门标签: 图片翻转 图片旋转 图片全屏 图片淡出淡进 图片淡出 图片淡进 图片延迟加载 图片延迟 图片加载 图片叠加 图片层叠 图片放大镜 头像上传 图片上传 图片拖动 图片拖拽 二维码 图片广告 h5图片动画 h5图标动画 html5图片动画 html5图标动画 地图 中国地图 世界地图 带缩略图的幻灯片 图片放大缩小 图片缩放 图片大小 图片放大 图片缩小 图片变大 图片变小 旋转木马 图片旋转木马 文字旋转木马 旋转木马插件 图片滚动 图片滚动条 图片滑动 图片滑块 图片收缩展开 图片收缩 图片展开 图片切换 图片选项卡 图标选项卡 纯图片轮播 图片轮播 图标导航 图标菜单 自动滚动图片轮播 弹出层拖动 浮动 悬浮 悬浮层 悬浮框 浮动层 浮动框 浮动插件 悬浮插件 背景切换 大图切换 手风琴 水平手风琴 垂直手风琴 图片手风琴 文字手风琴 手风琴插件 滑动星星打分 窗口 弹出 弹窗 弹出层 提示框 对话框 遮罩 遮罩层 弹窗插件 浮动提示框 图表 图片 图片插件 头像截图 其他 图片广告 文字提示框 提示文字 图片文字 多功能 多功能插件

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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