It support touch device.
demo
synopsis
html
<div id="demo1" style="width: 240px; height: 240px"></div>
<button id="demo1_up" style="width: 48px; height: 48px">+</button>
<button id="demo1_down" style="width: 48px; height: 48px">-</button>
javascript
$("#demo1").imagescroll({'image_src': 'fish.png',
'zoom_in': 'demo1_up',
'zoom_out': 'demo1_down'
});
options
image_src | load image path |
resize | callback function for resize |
auto_resize | true/false |
load | callback function of image loaded |
zoom_resaet | id for zoom reset button |
zoom_in | id for zoom in button |
zoom_out | id for zoom out button |