Hello everyone) I wrote a script so that when you clicked on "Button 1", the first "div" opened (and the second did not appear even when the page was updated), and when you clicked on "Button 2", the second "div" appeared, and the first one was hidden was not visible when refreshing the page. But for some reason, when updating, they are superimposed one on another ((Help please.
pum2 -Button-1 pum3 -button-2 "# svg8, .text1, .text2, .text3, .barra-progresso" -ALL GRAPHIC FILES In svg format.
here is the js code
<script type="text/javascript"> $(document).ready(function () { $(".pum2").click(function () { $("#svg8 ,.text1,.text2,.text3,.barra-progresso").hide() $("#topic").show() }); $(".pum3").click(function () { $("#topic").hide() $("#svg8,.text1,.text2,.text3,.barra-progresso").show() }); }); </script>