 
						Inner
| 1 2 3 4 5 6 | <divmag-thumb="inner">    <imgsrc="img/alley/500x300.jpg"/></div><divmag-zoom="inner">    <imgsrc="img/alley/1000x600.jpg"/></div> | 
| 1 2 | $host = $('[mag-thumb="inner"]');$host.mag(); | 
使用鼠标滚轮可以对内部图片进行缩放。
Inner Inline
| 1 2 3 4 5 6 | <divmag-thumb="inner-inline"mag-flow="inline">    <imgsrc="img/alley/500x300.jpg"style="width: 400px; max-width:100%;"/></div><divmag-zoom="inner-inline">    <imgsrc="img/alley/1000x600.jpg"/></div> | 
| 1 2 | $host = $('[mag-thumb="inner-inline"]');$host.mag(); | 
Outer
| 1 2 3 4 5 6 7 8 | <divmag-thumb="outer">    <imgsrc="img/alley/500x300.jpg"/></div><divstyle="width: 300px; height: 300px;">    <divmag-zoom="outer">        <imgsrc="img/alley/1000x600.jpg"/>    </div></div> | 
| 1 2 3 4 5 | $host = $('[mag-thumb="outer"]');    $host.mag({    mode: 'outer',    ratio: 1 / 1.6});      | 
使用鼠标滚轮可以对外部图片进行缩放。
Outer Drag
| 1 2 3 4 5 6 | <divmag-thumb="outer-drag">    <imgsrc="img/alley/500x300.jpg"/></div><divmag-zoom="outer-drag">    <imgsrc="img/alley/1000x600.jpg"/></div> | 
| 1 2 3 4 5 6 | $host = $('[mag-thumb="outer-drag"]');$host.mag({    mode: 'outer',    position: 'drag',    toggle: false}); | 
使用鼠标滚轮可以对外部图片进行缩放。
Drag
| 1 2 3 4 5 6 | <divmag-thumb="drag">    <imgsrc="img/alley/500x300.jpg"/></div><divmag-zoom="drag">    <imgsrc="img/alley/1000x600.jpg"/></div> | 
| 1 2 3 4 5 | $host = $('[mag-thumb="drag"]');    $host.mag({    position: 'drag',    toggle: false}); | 
使用鼠标滚轮可以对图片进行缩放。
- + ^ v < > [ ] destroy Controls
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | <scriptsrc="src/js/mag-control.js"></script><divmag-thumb="controls">    <imgsrc="img/alley/500x300.jpg"/></div>    <divmag-zoom="controls"><imgsrc="img/alley/1000x600.jpg"/></div><divmag-ctrl="controls">    <buttonmag-ctrl-zoom-by="-0.5">-</button>    <buttonmag-ctrl-zoom-by="0.5">+</button>    <buttonmag-ctrl-move-by-y="-0.5">^</button>    <buttonmag-ctrl-move-by-y="0.5">v</button>    <buttonmag-ctrl-move-by-x="-0.5"><</button>    <buttonmag-ctrl-move-by-x="0.5">></button>    <buttonmag-ctrl-fullscreen>[ ]</button>    <buttonmag-ctrl-destroy>destroy</button></div> | 
| 1 2 3 4 5 6 7 8 9 10 | $host = $('[mag-thumb="controls"]');    $host.mag(    toggle: false,    position: false);$controls = $('[mag-ctrl="controls"]');    $controls.magCtrl({    mag: $host}); | 
特别申明:
			本站所有资源都是由网友投稿发布,或转载各大下载站,请自行检测软件的完整性!
			本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!
			如有侵权请联系我们删除下架,联系方式:lei1294551502@163.com