ITeye博客

局部图片放大功能 magiczoom

qq398705749 · 2011-12-19 17:00 · css · html · js · ecshop · Web前端 · 图片局部发大 拖拽 · Markdown

{insert_scripts files='magiczoomplus.js'}

 

----------------------------------------------------------------------------------------------------------------------------------

<a id="zoom" href="{$goods.goods_img}(大图片)"  rel="zoom-position: inner; zoom-width:500px; zoom-height:500px;" class="MagicZoom" style="cursor: crosshair"  >

 

 

<img  src="{$goods.goods_img}(小图片)"  width="230px" height="230px">

 

</a> 内页的放大

 

----------------------------------------------------------------------------------------------------------------------------------

 

 

<a id="zoom" href="{$goods.goods_img}(大图片)"  rel="zoom-position: out; zoom-width:500px; zoom-height:500px;" class="MagicZoom" style="cursor: crosshair"  >

 

 

<img  src="{$goods.goods_img}(小图片)"  width="230px" height="230px">

 

</a> 右边的放大

评论(2)

  1. #2 楼 · qq398705749 · 2012-02-13 13:15

    qkjava writes:

    不知道涉及到放大的页面一共有几个

    就一个呀

  2. #1 楼 · qkjava · 2012-01-17 17:39

    不知道涉及到放大的页面一共有几个

评论功能维护中,当前仅展示历史评论。