When I click on thezoomTarget class I would like to change the size of the div with transition and to be able to zoom into the changed sized class adequately. I've been able to tweak it to zoom to the first div but not to the following because elem.offsetLeft is pointing to the original div which has been in the DOM originally.
When I click on the
zoomTarget
class I would like to change the size of the div with transition and to be able to zoom into the changed sized class adequately. I've been able to tweak it to zoom to the first div but not to the following becauseelem.offsetLef
t is pointing to the original div which has been in the DOM originally.Demo: http://www.spe.leoben.org/wp-content/themes/spefifteen/playground/zoomooz/
Do you have any ideas?
Thanks, Dave