Hi,
if (document.getElementById('referenzen').style.display != 'none';) {
document.getElementById('referenzen').style.display = 'block';
Wenn nicht none, dann block setzen ist falsch herum gedacht.
Wenn none, dann block, sonst none.
MfG ChrisB
--
Light travels faster than sound - that's why most people appear bright until you hear them speak.
Light travels faster than sound - that's why most people appear bright until you hear them speak.