[转]javascript图片放大效果
摘要:
本文转自:http://www.cnblogs.com/sohighthesky/archive/2009/11/15/imagezoom.html类似京东的商品展示效果,先查看演示示例1.图片和放大使用不同的图片,并指定显示的方位(大小图片要比例相同)也可以指定放大倍数(相对于小图片计算) new imageZoom("img1",{//mul:6,//指定放大的倍数viewerPos:{h:-10},//显示到指定位置(默认值为:{h:10,v:0}),h:-10表示左边偏移10像素onShow:function() {document.title="show 阅读全文
posted @ 2012-11-20 11:28 freeliver54 阅读(373) 评论(1) 推荐(0)
浙公网安备 33010602011771号