Mar 17, 2014 in Lightbox 3719 views
<link rel="stylesheet" href="css/smoothzoom.css">
<script type="text/javascript" src="js/smoothzoom.min.js"></script>
<script type="text/javascript">
$(window).load( function() {
$('img').smoothZoom({
// Options go here
});
});
</script>
<img src="images/1.jpg" rel="zoom">
<a href="images/3.jpg"><img src="images/3-THUMB.jpg" rel="zoom"></a>
| Option | Description | Values |
| zoominSpeed | Time (in milliseconds) the zoom-in lasts | 800 |
| zoomoutSpeed | Time (in milliseconds) the zoom-out lasts | 400 |
| resizeDelay | Check if window resized every X milliseconds | 400 |
| zoominEasing | jQuery easing method on zoom-in (requires easing plugin) | easeOutExpo |
| zoomoutEasing | jQuery easing method on zoom-out (requires easing plugin) | easeOutExpo |
Tagged with:
smoothzoom
dialog
zoom
inline
zoom inline
responsively
responsively zoom
thumbnails
lightweight
scaled
Related Articles
JS Tutorial