일반 감추기, 보이기 화면 예제

황제낙엽 2008.04.14 16:29 조회 수 : 21 추천:144

sitelink1  
sitelink2  
sitelink3  
sitelink4  
extra_vars4  
extra_vars5  
extra_vars6  
·미리보기 | 소스복사·
  1. [<a href="javascript:showList()" onfocus="this.blur()">리스트 출력</a>]<br/><br/>   
  2.   
  3. <span id="receiveList" style="display:none">   
  4. &nbsp;1. OZ Basic Course<br/>   
  5. &nbsp;2. EDPFNB<br/>   
  6. &nbsp;3. DELL<br/>   
  7. &nbsp;4. SAP개발자 네트워크<br/>   
  8. </SPAN>   
  9.   
  10. <SCRIPT>   
  11.  //출력창 감추기, 보이기 함수   
  12. function showList(){   
  13.     if (document.all.receiveList.style.display != "none" ){   
  14.         document.all.receiveList.style.display="none";   
  15.     } else {   
  16.         document.all.receiveList.style.display="block"  
  17.     }   
  18. }   
  19. </SCRIPT>