Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- ajax
- 베트남어
- 메일왕창보내는법
- 도커
- 명사 뽑아내기
- scala
- docker
- express for node.js
- ejb
- php thumbnail
- Eclipse
- 책이야기
- ror실행
- 디즈니씨
- Lift
- 나의 프로젝트
- rss
- 스킨 스쿠버
- nodejs express
- flex3
- 명사 분석기
- Cross
- 주식이야기
- php
- 명사 추출기
- iBatis
- Node.js
- node.js web framework
- C/C++
- 나의 취미
Archives
- Today
- Total
nkdk의 세상
JS :: 테이블 셀에 링크 본문
- style : css속성을 추가합니다.
- onClick : 클릭시 이벤트를 발생합니다.
- onMouseOver : 해당부분에 마우스커서를 올리면 이벤트가 발생합니다.
- onMouseOut : 해당부분에서 마우스커서를 이탈시키면 이벤트가 발생합니다.
<html>
<body>
<table border=2 bordercolor=#a0c0f0 cellpadding=5><tr>
<td width=130 height=50>
우측셀을 클릭하면<br> <b>네이버</b>로 이동합니다.
</td>
<td width=50 bgcolor=#70c090 style="cursor:hand" onClick="location.href='http://www.naver.com'"
onMouseOver="window.status='네이버로 갑니다.'" onMouseOut="window.status='가자구?'">
</td>
</tr><tr>
<td height=50>
우측셀을 클릭하면<br> <b>다음</b>으로 이동합니다.
</td>
<td bgcolor=#f0b070 style="cursor:hand"
onClick="location.href='http://www.daum.net'"
onMouseOver="window.status='다음으로 갑니다.'" onMouseOut="window.status='안 가?'">
</td>
</tr></table>
</body>
</html>