Skip to content
조회 수 19994 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄


Div 사용한 클릭시 테이블 숨기고 감추기



참고 글 : http://luvbaby.tistory.com/archive/20070301


<!-- 소스 Start -->


<div id="test_click1" style="display:block" align="center">

    <a href="#none"

         onclick="document.getElementById('test_more').style.display='block';

                     document.getElementById('test_click1').style.display='none';

                     document.getElementById('test_click2').style.display='block'">보기  </a><br>


<!-- 보기에 대한 내용 Start-->

<div style="width:200px;height:200px;"><img src="http://cfs3.tistory.com/upload_control/download.blog?fhandle=YmxvZzQxMTk3QGZzMy50aXN0b3J5LmNvbTovYXR0YWNoLzAvODIuanBn" /></div>


<!-- 보기에 대한 내용 End-->


</div>


<div id="test_click2" style="display:none" align="center">

    <a href="#none"

         onclick="document.getElementById('test_more').style.display='none';

                      document.getElementById('test_click2').style.display='none';

                      document.getElementById('test_click1').style.display='block'">닫기 </a>

</div>


<div id='test_more' style="display:none">

</div>


<!-- 소스 End -->



마우스의 클릭이 아닌 오버/아웃에 따른 설정은

Onclick 대신 OnMouseOver/OnMouseOut 으로 변경해주면 될것이다.



Event

What Triggers the Event

OnAbort

Occurs when the loading of an image is interrupted

OnBlur

Occurs when an element loses focus

OnChange

Occurs when the user changes the content of a field

OnClick

Occurs when the user clicks an object

OnDblClick

Occurs when the user double clicks an object

OnError

Occurs when an error occurs while loading a document or an image

OnFocus

Occurs when an element has focus

OnKeyDown

Occurs when a keyboard key is pressed

OnKeyPress

Occurs when a keyboard key is pressed or held down

OnKeyUp

Occurs when a keyboard key is released

OnLoad

Occurs when a page or image has completed loading

OnMouseDown

Occurs when a mouse button is pressed

OnMouseMove

Occurs when the mouse is moved

OnMouseOut

Occurs when the mouse is moved off of an element

OnMouseOver

Occurs when the mouse is moved over an element

OnMouseUp

Occurs when the mouse button is released

OnReset

Occurs when the reset button is clicked

OnResize

Occurs when a window or frame is resized.

OnSelect

Occurs when text is selected

OnSubmit

Occurs when the submit button is clicked

OnUnload

Occurs when the user exits the page


로그인 후 댓글쓰기가 가능합니다.

?

  1. 트위터 개발하기

  2. Table_open_cache 가 늘어나지 않는 이유.

  3. Mysql 에러메시지

  4. [해킹차단]이런창이 뜨는 사이트들 정말 조심하길 바란다.

  5. 시스템은 멀쩡한데 느닷없이 mysql 접속거부의 이유는 max_connect_errors과의 연관성

  6. 배치파일 IF문

  7. curl대신 사용할 수 있는 소스

  8. 엑셀 다중조건 구현하기

  9. 셀에 현재 날짜와 시간 삽입

  10. Windows와 DOS 명령 프롬프트 환경 변수 리스트

  11. Windows Firewall/Internet Connection Sharing (ICS) 서비스를 시작할 수 없습니다.

  12. 유동 IP시간 만료로 리부팅해야만 인터넷 사용가능한 장애원인 해결방법

  13. 여러개의 엑셀파일을 하나로 합치기

  14. IE 접속제어 후킹

  15. 정부의 부동산 재테크 실력은 부동산 경기침체 때 발휘한다.

  16. 메모리 사용계획 어떻게 할것인가?

  17. Div 사용한 클릭시 테이블 숨기고 감추기

  18. JavaScript1.2 Event mouse css 제어

  19. 마우스 오버시 DIV 레이어 감추기 / 보이기

  20. 둥근 모서리 박스 자동 생성

Board Pagination Prev 1 ... 4 5 6 7 8 ... 46 Next
/ 46

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소