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


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

?

List of Articles
번호 분류 제목 날짜 조회 수
177 AutoHotKey COM 사용 1 2011.02.21 19065
176 AutoHotKey autohotkey) IPv6 모두 사용안함 설정하기 1 file 2011.12.30 19133
175 프로세스 Spoo1sv.exe 바이러스 치료하기 1 12 2011.11.28 19178
174 Excel 엑셀) 날짜를 요일로 변환하기 2 2012.03.16 19179
173 파이썬 파이썬 화면 캡쳐하기 2022.11.26 19343
172 컴퓨터잡담 주식투자, 성공투자 원칙을 지키는 방법 1 2 2009.08.09 19422
171 컴퓨터잡담 문서 보안 프로그램 삭제 방법 1 2013.02.02 19456
170 컴퓨터잡담 [Autohotkey] 인터넷 창을 여러개 띄우고 컨트롤 할때 ahk_id 알아내기 1 3 2009.12.19 19461
169 파이썬 Windows용 Tesseract 설치 및 사용법 2022.11.26 19477
168 AutoHotKey AHK에서 가능한 COM 인터넷 익스플로러 및 GUI 브라우저 1 2011.02.11 19502
167 컴퓨터잡담 Windows XP에서 Boot.ini 파일을 편집하는 방법 2009.12.08 19534
166 컴퓨터잡담 MYSQL Qcache 값 조정~~~ 1 2010.04.13 19554
165 AutoHotKey Internet Explorer Control 2011.02.11 19663
164 WindowsTip 탐색기로 ftp 폴더 바로열기 file 2013.12.03 19665
163 컴퓨터잡담 [php] 특수문자 -> 엔티티, 엔티티 -> 특수문자 2 2009.09.19 19807
162 Excel PDF, EXCEL 파일 변환 1 2012.06.30 19809
161 컴퓨터잡담 [TCP/IP] 인터넷 연결 문제 복구 및 확인방법 2 2011.06.23 19826
160 컴퓨터잡담 익스프레스 엔진이 있어 더욱 밝은 네이버의 미래 1 2 2009.08.07 19916
159 컴퓨터잡담 아스키 코드 변환(hex) 2009.12.06 19971
» 컴퓨터잡담 Div 사용한 클릭시 테이블 숨기고 감추기 1 2010.07.03 19994
Board Pagination Prev 1 ... 36 37 38 39 40 ... 46 Next
/ 46

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


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

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

설치 취소