Bio: Timeout springt nicht an

Beitrag lesen

Sup!

<div id ="content2" style="display:none"; width:320px; height:240px">Hier ist das erste Kapitel

if (document.getElementById("content2").style.display == 'block'){
setTimeout('weg()',2000);

MÖÖÖÖP!

Der Display-Style ist "none". Die Funktion soll bei "block" anspringen. Tut sie natürlich nicht. So what?

Gruesse,

Bio

--
Never give up, never surrender!!!