1

When using the zoomooz.js script, to enable zooming on a target, we simply add the zoomTarget class:

Ex. <div id="container" class="zoomTarget"></div>

However, zoom will only occur when "container" is clicked. Is there a way to automatically zoom to the target "container" once the browser window is resized?

Something like $(window).resize(function(){ $("#container").zoomTarget(); }); perhaps?

JPBB
  • 11
  • 2
  • 1
    I think I might have found out the answer to this question myself. instead of zoomTarget, I used zoomTo and bound it $(window).resize(). – JPBB Dec 07 '12 at 05:25

0 Answers0