2222222222222222

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<style type="text/css">
			body{
				font-size: 12px;
				line-height: 25px;
			}
			table{border-top: solid 1px #666666;
				border-left: solid 1px #666666;
			}
			td{text-align: center;
				border-right: solid 1px #666666;
				border-bottom: solid 1px #666666;
			}
			.left{text-align: left;
				padding-left: 10px;
			}
			#photo{border: solid 1px #0066cc;
				width: 200px;
				text-align: center;
				z-index: 2;
				position: absolute;
				display: none;
				top: 50px;
				left: 50px;
				background-color: #ffffff;
			}
			#big{width: 200px;}
		</style>
		<script type="text/javascript">
			function show(image,event){
				var x;
				var y;
				document.getElementById("photo").style.display="block";
				x=parseInt(event.clientX)+parseInt(document.documentElement.scrollLeft);
				y=parseInt(event.clientY)+parseInt(document.documentElement.scrollTop);
				document.getElementById("photo").style.top=y+"px";
				document.getElementById("photo").style.left=x+"px";
				document.getElementById("big").src="images/"+image;
			}
			function shows(){
				document.getElementById("photo").style.display="block";
			}
			function hidden(){
				document.getElementById("photo").style.display="none";
			}
			window.onscroll="show()";
		</script>
	</head>
	<body>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr style="font-weight: bold; font-size: 13px;">
				<td style="width: 100px;">商品图片</td>
				<td>商品名称</td>
				<td style="width: 100px;">商品价格</td>
			</tr>
			<tr>
				<td><img src="images/small_1.jpg" onmousemove="show('big_1.jpg',event)" onmouseout="hidden()"/></td>
				<td class="left">善良双色超漂漂蝴蝶耳</td>
				<td>28.00元</td>
			</tr>
			<tr>
				<td><img src="images/small_2.jpg" onmousemove="show('big_2.jpg',event)" onmouseout="hidden()"/></td>
				<td class="left">皇冠09年完美芦荟胶10支装40g/支 接受验货 去疤痕 祛痘痕 祛斑</td>
				<td>96.00元</td>
			</tr>
			<tr>
				<td><img src="images/small_3.jpg" onmousemove="show('big_3.jpg',event)" onmouseout="hidden()"/></td>
				<td class="left">1681/诺基亚1681c/nokia 1681c</td>
				<td>225.00元</td>
			</tr>
			<tr>
				<td><img src="images/small_4.jpg" onmousemove="show('big_4.jpg',event)" onmouseout="hidden()"/></td>
				<td class="left">欧美vivi 简洁甜美 超人气百搭公主款短袖连衣裙</td>
				<td>88.00元</td>
			</tr>
			<tr>
				<td><img src="images/small_5.jpg" onmousemove="show('big_5.jpg',event)" onmouseout="hidden()"/></td>
				<td class="left">戴尔/DELL 1014 2.2G处理器/1G/160G/DVD刻/摄像头无线</td>
				<td>3080.00元</td>
			</tr>
		</table>
		<div id="photo" onmouseout="hidden()" onmousemove="show()"><img src="images/big_1.jpg" id="big" /></div>
		<div style="height: 2000px;"></div>
	</body>
</html>

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

清蒸大闸蟹-

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值