Hallo Matthias!
function showLayer(x){
if (document.layers)
document.layers[x].visibility="show";
else
document.all[x].style.visibility="visible";
}
function showLayer(x){
if (document.layers) {
document.layers[x].visibility="show";
}
else {
document.all[x].style.visibility="visible";
}
}
function hideLayer(x){
if (document.layers)
document.layers[x].visibility="hide";
else
document.all[x].style.visibility="hidden";
}
function hideLayer(x){
if (document.layers) {
document.layers[x].visibility="hide";
}
else {
document.all[x].style.visibility="hidden";
}
}
Man beachte die '{' und '}'
;)
Gruß Julian