Commit 81b34775 by Luciano Barletta

Merge branch 'master' of http://git.anacsoft.com/Lusho/mini-web

2 parents 821f6931 a555091a
...@@ -13,7 +13,7 @@ function ArmarForm(data) { ...@@ -13,7 +13,7 @@ function ArmarForm(data) {
boton.setAttribute("id", "Boton" + n); boton.setAttribute("id", "Boton" + n);
boton.setAttribute("value", n); boton.setAttribute("value", n);
boton.setAttribute("class", "Botones"); boton.setAttribute("class", "Botones");
boton.addEventListener("click", HabilitarTab); //boton.setAttribute("onclick", HabilitarTab(this) );
let ancho = ((100 - (0.2 * m)) / m) + "%"; let ancho = ((100 - (0.2 * m)) / m) + "%";
boton.style.width = ancho; boton.style.width = ancho;
let tab = document.createElement("div"); let tab = document.createElement("div");
...@@ -25,9 +25,3 @@ function ArmarForm(data) { ...@@ -25,9 +25,3 @@ function ArmarForm(data) {
document.getElementById("Tab0").style.display="block"; document.getElementById("Tab0").style.display="block";
} }
function HabilitarTab() {
for (let n = 0; n < m; n++) {
document.getElementById("Tab" + n).style.display="none"
}
}
\ No newline at end of file \ No newline at end of file
...@@ -21,7 +21,7 @@ html { ...@@ -21,7 +21,7 @@ html {
margin: 0.1%; margin: 0.1%;
} }
.Botones:active { .BotonesActive {
background-color: var(--Color); background-color: var(--Color);
border-bottom: none; border-bottom: none;
height: 6%; height: 6%;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!