E

마우스 커스 이동만으로 배경색상을 바꾸어보자

<HTML>
<HEAD>
<TITLE> Sample Script </TITLE>

</HEAD>

<BODY>

<TABLE border="0" cellspacing=0 cellpadding="3" bgcolor="teal" align=center width=70%>
<TR>
<TD bgcolor="white" align=center>


<!-- 메모장 등으로 아래의 방법으로 HTML 문서의 BODY 부분에 붙여 넣으세요 -->


<!--- 아래의 방법으로 하이퍼링크를 만듭니다.
중요한 내용은
onmouseover="document.bgColor='green'" 에서
green 부분을 원하는 색상으로 넣어 주면 됩니다
----->

[<A href="#" onmouseover="document.bgColor='green'">Green</A>]
[<A href="#" onmouseover="document.bgColor='green'">Bright Green</A>]
[<A href="#" onmouseover="document.bgColor='seagreen'">Sea Green</A>]
[<A href="#" onmouseover="document.bgColor='red'">빨강색</A>]
[<A href="#" onmouseover="document.bgColor='magenta'">Magenta</A>]
[<A href="#" onmouseover="document.bgColor='fusia'">Fusia</A>]
[<A href="#" onmouseover="document.bgColor='pink'">Pink</A>]
[<A href="#" onmouseover="document.bgColor='purple'">Purple</A>]
[<A href="#" onmouseover="document.bgColor='navy'">Navy</A>]
[<A href="#" onmouseover="document.bgColor='blue'">파랑색</A>]
[<A href="#" onmouseover="document.bgColor='royalblue'">Royal Blue</A>]
[<A href="#" onmouseover="document.bgColor='Skyblue'">Sky Blue</A>]
[<A href="#" onmouseover="document.bgColor='yellow'">Yellow</A>]
[<A href="#" onmouseover="document.bgColor='brown'">Brown</A>]
[<A href="#" onmouseover="document.bgColor='almond'">Almond</A>]
[<A href="#" onmouseover="document.bgColor='white'">White</A>]
[<A href="#" onmouseover="document.bgColor='black'">Black</A>]
[<A href="#" onmouseover="document.bgColor='coral'">Coral</A>]
[<A href="#" onmouseover="document.bgColor='olivedrab'">Olive Drab</A>]
[<A href="#" onmouseover="document.bgColor='orange'">Orange</A>]

<!------------------------- 여기까지 ---------------------------------->

</TD>

</TR>
</TABLE></DIV>


</body>
</HTML><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
|
댓글을 작성하시려면 로그인이 필요합니다.

개발자팁

개발과 관련된 유용한 정보를 공유하세요. 질문은 QA에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
기타 19년 전 조회 3,492
기타 19년 전 조회 4,863
기타 19년 전 조회 4,510
기타 19년 전 조회 3,139
기타 19년 전 조회 3,249
JavaScript 19년 전 조회 3,528
기타 19년 전 조회 3,106
JavaScript 19년 전 조회 3,150
기타 19년 전 조회 2,714
기타 19년 전 조회 3,005
JavaScript 19년 전 조회 3,165
기타 19년 전 조회 3,074
기타 19년 전 조회 3,424
기타 19년 전 조회 4,178
기타 19년 전 조회 3,302
JavaScript 19년 전 조회 2,842
기타 19년 전 조회 2,777
기타 19년 전 조회 3,082
기타 19년 전 조회 2,630
JavaScript 19년 전 조회 2,605
기타 19년 전 조회 2,823
기타 19년 전 조회 4,355
Flash 19년 전 조회 5,575
Flash 19년 전 조회 6,863
기타 19년 전 조회 3,871
Flash 19년 전 조회 5,680
JavaScript 19년 전 조회 5,627
JavaScript 19년 전 조회 2,588
기타 19년 전 조회 4,447
기타 19년 전 조회 3,495