D
D
Dmitry2018-05-10 23:19:34
JavaScript
Dmitry, 2018-05-10 23:19:34

How to make something like a calculator, only from images?

In general, there is a calculator - prntscr.com/jgaeoq
I want to make it so that when I select the "Arched" hangar type, then I put windows, paint, etc. After that, when I changed it to another type of hangar, everything remains only the picture changes to another type of hangar. Or so that when a person changes the type of anagra, the form is reset.
That is, I chose type 1 and put my prime basses on it. I choose type 2, I also apply primbobass but already others.
Well, something like on this site - site

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2018-05-10
@sergiks

Let the designer draw layered pictures for you, where the selected elements will be PNG layers with transparency. With JavaScript, you simply turn on/off the visibility of sandwich layers.
In the given example, this is done. See, for example, a layer with only gates - with a transparent background.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question