Wiki source code of Comunicados
Last modified by WBS Tecnologia on 2021/01/13 11:54
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | = Comunicados e Atualizações = | ||
2 | |||
3 | ---- | ||
4 | |||
5 | {{html clean="false"}} | ||
6 | <style> | ||
7 | .accordion { | ||
8 | background-color: #eee; | ||
9 | color: #444; | ||
10 | cursor: pointer; | ||
11 | padding: 18px; | ||
12 | width: 100%; | ||
13 | border: none; | ||
14 | text-align: left; | ||
15 | outline: none; | ||
16 | font-size: 15px; | ||
17 | transition: 0.4s; | ||
18 | } | ||
19 | |||
20 | .active, .accordion:hover { | ||
21 | background-color: #ccc; | ||
22 | } | ||
23 | |||
24 | .panel { | ||
25 | padding: 0 18px; | ||
26 | display: none; | ||
27 | background-color: white; | ||
28 | overflow: hidden; | ||
29 | } | ||
30 | </style> | ||
31 | <button class="accordion">13/01/2021 - Atualizaçao API Catalogo</button> | ||
32 | <div class="panel"> | ||
33 | <p> | ||
34 | Nova Atualização da API de Catálogo inclui novos metadados e URL de Capas completa. | ||
35 | </p> | ||
36 | </div> | ||
37 | |||
38 | <script> | ||
39 | var acc = document.getElementsByClassName("accordion"); | ||
40 | var i; | ||
41 | |||
42 | for (i = 0; i < acc.length; i++) { | ||
43 | acc[i].addEventListener("click", function() { | ||
44 | this.classList.toggle("active"); | ||
45 | var panel = this.nextElementSibling; | ||
46 | if (panel.style.display === "block") { | ||
47 | panel.style.display = "none"; | ||
48 | } else { | ||
49 | panel.style.display = "block"; | ||
50 | } | ||
51 | }); | ||
52 | } | ||
53 | </script> | ||
54 | |||
55 | |||
56 | {{/html}} |