M
M
Maxim Timofeev2016-07-09 12:20:37
JavaScript
Maxim Timofeev, 2016-07-09 12:20:37

What is the best way to make an interactive picture?

There are a couple of little men, organs are drawn on them. When the hover is backlit, when you click a modal with info.
The minimum task is to get selectors on them in js.
The task is to do the maximum, so that it would be possible to edit the position, picture, etc. in the admin panel.
There is no picture yet, but it will be in this style:
443f8d64159a4697910c3b72873592fd.jpg

I see several options, please suggest the best one, since there is no real experience in such tasks.

1. Insert SVG with code. It will be difficult to make pictures, but then just manipulate and make adaptive.
2. A bunch of pictures - absolute positioning. You can add photos on top from the admin panel by setting indents. With the adaptive xs, you probably have to suffer.
3. One picture, everything else in js should be written by calculating margins from the edges. There will probably be hell with the adaptive.
4.canvas? everyone does not reach the hands to figure it out, if it's convenient - write, I'll figure it out.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Skrolea, 2016-07-09
@webinar

Well, I'm doing svg. By the way, you posted an example on codepen

F
Faber Estello, 2016-07-09
@senselessV7

There are a couple of little men, organs are drawn on them. When the hover is backlit, when you click a modal with info.

What is this for? Site for the sale of organs? Is this all legal?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question