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. 10
    Jul 2010
    12:32

    전동기(모터)의 원리

    Category유용한상식 Views11848
    Read More
  2. 10
    Jul 2010
    06:57

    MouseOver - Background color, 마우스오버시 백그라운드 컬러 지정

    Category컴퓨터잡담 Views11032
    Read More
  3. 09
    Jul 2010
    07:59

    악의적 호출 방지용 Referer 체크

    Category컴퓨터잡담 Views7530
    Read More
  4. 07
    Jul 2010
    11:57

    APMSetup에서 문서 출력 순서 등 설정

    Category컴퓨터잡담 Views14066
    Read More
  5. 05
    Jul 2010
    23:19

    CSS를 이용한 DIV 둥근 테두리 만들기.

    Category컴퓨터잡담 Views11710
    Read More
  6. 03
    Jul 2010
    15:53

    둥근 모서리 박스 자동 생성

    Category컴퓨터잡담 Views6311
    Read More
  7. 03
    Jul 2010
    10:43

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

    Category컴퓨터잡담 Views15931
    Read More
  8. 03
    Jul 2010
    10:17

    JavaScript1.2 Event mouse css 제어

    Category컴퓨터잡담 Views7514
    Read More
  9. 03
    Jul 2010
    09:57

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

    Category컴퓨터잡담 Views19994
    Read More
  10. 03
    Jul 2010
    09:57

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

    Category일상 Views36554
    Read More
Board Pagination Prev 1 ... 202 203 204 205 206 ... 235 Next
/ 235

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


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

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

설치 취소