1.0.0 • Published 7 years ago
pri.scaleblocks v1.0.0
pri.scaleblocks
It doesn't need to call somewhere. Loads when document ready. If you have to control it anyway, use
window.disableAutoScaleBlocks
property.
Simple usage in html
<div class="jzoom-item" data-scale-if="window.width < 640">
<img width="640" height="480" src="http://shopbot.business/wp-content/uploads/Google-Pixel-4.jpg">
</div>
1.0.0
7 years ago