Is there a way to zoom in on a div by clicking on it without parts of the block being hidden after the zoom?
Check out the demo here: http://jsbin.com/xumuzine/2/edit
I've tried using the CSS property transform-origin: 0 0;
, but this won't work for me because I need to track the location where I clicked and zoom into that specific place.
Any ideas or suggestions would be greatly appreciated. Thank you!
UPDATE:
Let me clarify my issue.
You can see an updated demo with a click event handler that captures the click coordinates and zooms in to that position here: http://jsbin.com/fecaduxidele/2/edit
The problem arises when I click on a cell, such as number 9, and then cannot scroll the grid back to cell number 1. Any solutions to this problem?