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