Dinamic div with options

This commit is contained in:
ilpibens 2021-06-11 12:28:31 +02:00
parent 8bc02a60e3
commit 8a3554e5b7
1 changed files with 9 additions and 9 deletions

View File

@ -10,10 +10,10 @@
function mostra() { function mostra() {
document.getElementById("divContentId").style.display="block"; document.getElementById("divContentId").style.display="block";
} }
function nascondi() { function nascondi() {
document.getElementById("divContentId").style.display="none"; document.getElementById("divContentId").style.display="none";
} }
</script> </script>
</head> </head>
<!-- partial:index.partial.html --> <!-- partial:index.partial.html -->
@ -85,13 +85,13 @@
<td> <td>
<!-- <input type=”button” value=”Mostra” onclick="javascript:mostra()" /> <!-- <input type=”button” value=”Mostra” onclick="javascript:mostra()" />
<input type=”button” value=”Nascondi” onclick="javascript:nascondi()" />--> <input type=”button” value=”Nascondi” onclick="javascript:nascondi()" />-->
<a href="#nomeancora" onclick="javascript:mostra()"><small>Categoria</small></a> <a href="#nomeancora" onclick="javascript:mostra()"><small>Categoria</small></a>
<a name="nomeancora"> </a> <a name="nomeancora"> </a>
<div id="divContentId"> <div id="divContentId">
<small>tanato per fare una prova</small> <small>Opzione1<br>Opzione2<br>Opzione3</small>
</div> </div>
<!-- <a href="javascript:popupCategoria('0');" title="Configurazione categoria"><small>Categoria</small></a> <!-- <a href="javascript:popupCategoria('0');" title="Configurazione categoria"><small>Categoria</small></a>
<div>tanto per fare una prova</div> --> <div>tanto per fare una prova</div> -->
</td> </td>