반응형

onmouseover="this.style.backgroundColor='#E1E1E1'" onmouseout="this.style.backgroundColor=''"

style="cursor: hand;"  <-- 요건 웹표준 위반..

style="cursor:pointer;" <-- 요게 맞는거

추가하고.

마우스 내렸을시
onmouseout="$(this).attr('bgcolor','#ffffff')"

마우스 올렷을시
onmouseover="$(this).attr('bgcolor','#d0ffee')"



ex)
< table>
< tr bgcolor="#ffffff" style="cursor:cursor;" onmouseout="$(this).attr('bgcolor','#ffffff');" onmouseover="$(this).attr('bgcolor','#d0ffee');" >

<td>
가나다라마바사아자차카타파하
</td>
</tr>
< /table>

반응형

'공부거리 > HTML' 카테고리의 다른 글

html 특수코드 목록  (0) 2012.09.20
웹표준, 웹접근성 검사 사이트  (0) 2012.01.25
input 박스 숫자만 입력받기  (0) 2011.12.23
[Script]팝업 띄우기  (0) 2011.12.08
스크립트로 추정되는 정규식(?)  (0) 2011.11.10

+ Recent posts