Hallo mipu,
Kleine Änderung:
var bla;
if (document.getElementById("TABLE_1").style.visibility="visible"){
bla = "datei1.html";
}
else {
bla = "datei2.html"
}Die Variable bla wird außerhalb des Blocks deklariert, da sie sonst nur innerhalb des Blocks gültig wäre.
Grüße
Andreas
Hallo Andreas,
vielen Dank :-)
Gruß,
Sandra