Hi!
Was macht denn show()?
Hier der Code
function show (member) {
if (document.getElementById) {
if (document.getElementById(member).style.display == "block") {
document.getElementById(member).style.display = "none";
} else {
document.getElementById(member).style.display = "block";
}
}
}
Ok wenn ich die Funktion show so abänder funktioniert es
~~~html
function show (member) {
if (document.getElementById) {
if (document.getElementById(member).style.display == "") {
document.getElementById(member).style.display = "none";
} else {
document.getElementById(member).style.display = "";
}
}
}
Aber warum wer kann mir das erklären ?