Zoom in / out in a container

I want to implement a system to increase / decrease the container div in "real time" using javascript. The container contains various units that are connected through a line using the jsPlumb library. My web page looks something like this:

example

Is there a third-party library that will help me implement this? Please advise me where to start. Thanks in advance.

+5
source share
1 answer

Looking around the Internet, it seems that there are no libraries for what you intend to do, although I would like you to be proved wrong.

: - zoom.js, . API- API , - IE. , , .


, zoomooz, , : jQuery, css transform property. , scale(XValue, YValue).

, CSS transform:

  • transform-origin, , , - .
  • transform , -webkit-transform, -ms-transform -moz-transform.
  • CSS - , Mozilla, , , .
0

All Articles