이는 효과가 시작되기 전에 파란색 가로 막대를 두 번째로 클릭한 경우입니다. 이는 첫 번째 클릭이 foot.style.display=="none"을 얻지 못함을 의미하지만 CSS에서는 <style type="text/css"> <BR>#top {width:100px; background-color:#00CCFF; height:20px} <BR>#foot {width:100px; background-color: #CCCC00; height:50px; display:none} <BR>#top {width:100px; background-color:#00CCFF} #foot {width:100px; 높이:50px; 없음} <BR><!-- <BR>function qa(){ <BR>if (foot.style.display=="none") { <BR>foot.style.display="block";}; <BR>else { <BR>foot.style.display="none";} <BR>} <BR>--> <BR>