Html
    Css
    Js

    
                        
.piclis {
	width:402px;
	height:484px;
	position:fixed;
}
.piclis .showbox {
	width:400px;
	height:400px;
	border:1px solid #000;
}
.piclis .showbox img {
	width:400px;
	height:400px;
	vertical-align:top;
}
.piclis .probox {
	display:none;
	position:absolute;
	left:403px;
	top:0;
	width:400px;
	height:400px;
	overflow:hidden;
	border:1px solid #ccc;
}
.piclis .probox img {
	position:absolute;
	height:1200px;
	width:1200px;
}
.piclis .showbox .hoverbox {
	display:none;
	position:absolute;
	top:0;
	background:#09f;
	border:1px solid #09f;
	height:75px;
	width:100px;
	cursor:move;
	z-index:10;
}
.piclis .smpiclis #prev,.piclis .smpiclis #next {
	width:20px;
	height:82px;
}
.piclis .smpiclis #next {
	float:right;
}
.piclis .smpiclis #prev {
	float:left;
}
.piclis .smpiclis .but {
	float:left;
	width:360px;
	height:82px;
}
.piclis .smpiclis .but li {
	float:left;
	width:90px;
	height:82px;
}
.piclis .smpiclis .but .once {
	display:block;
}
.piclis .smpiclis {
	width:402px;
	height:82px;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.11.3
 立即下载

jquery商品图放大代码 (原创)

更新时间:2020-12-04 09:14:14

<li data="images/img01.jpg"  kdata="images/img01.jpg">
    <img src="images/img01s.jpg" alt="">
</li>

data:为中图
kdata:为大图

0