Good afternoon, I have a question - I made a pop-up window on js+html
, it has functionality. But it turned out that there will be a lot of windows ... How better to be in such a situation: write a lot of windows and show them display:block;
and hide them display:hide;
or can it somehow be implemented in the 1st window, somehow magically replacing the content in it?
I will give an example:
<div class="popup newaction"> <div> <div class="popup print"> <div> <div class="popup info"> <div>