1.0.0 • Published 7 years ago

pri.scaleblocks v1.0.0

Weekly downloads
4
License
BSD-2-Clause
Repository
github
Last release
7 years ago

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>