Develop
2013.04.23 15:29
[js] 서서히 나타나는 화면.. ㅋㅋ
조회 수 6196 댓글 0
서서히 나타나는 화면..
<html> <head> <meta http-equiv="content-type" content="text/html; charset=euc-kr"> <title>*** 하나 특별 설문 이벤트 ***</title> <script language="JavaScript"> function namosw_fade_background(r1, g1, b1, r2, g2, b2, maxstep) { document._r1 = r1; document._r2 = r2; document._g1 = g1; document._g2 = g2; document._b1 = b1; document._b2 = b2; for (i = 1; i <= maxstep; i++) { namosw_fade_setbgcolor(i, maxstep); } } function namosw_fade_setbgcolor(curstep, maxstep) { var cr = new Array(); cr[0] = Math.floor((document._r1*(maxstep-curstep) + document._r2*curstep)/maxstep); cr[1] = Math.floor((document._g1*(maxstep-curstep) + document._g2*curstep)/maxstep); cr[2] = Math.floor((document._b1*(maxstep-curstep) + document._b2*curstep)/maxstep); var hexchars = '0123456789abcdef'; var i; var color_str = '#'; for (i = 0; i < 3; i++) { color_str += hexchars.charAt(Math.floor(cr[i]/16)); color_str += hexchars.charAt(cr[i]%16); } document.bgColor = color_str; } </script> </head> <body OnLoad="namosw_fade_background(0, 0, 0, 255, 255, 255, 100);"> <p><font size="2"> 본 설문조사는 스키,스노우보드,산악등반,겨울바다 여행을 즐기시는 레포츠 매니아의 숙박관련 이용실태를 </font></p> <p><font size="2"> 파악함으로써 관련자료를 토대로 더 나은 숙박상품을 서비스하기 위한 whole-marketing reserch 입니다. </font></p> <p><b>[정상 입력 되었습니다. 설문에 참여해 주셔서 감사드립니다 !!.]</b></p> </body> </html>
-
[java] RGB 색상 조절 버튼.. 스윙(swing)
-
[linux] 프로세스 관련 시스템콜
-
[c] i2osp 임시로.. ㅋㅋ
-
[c] fgets() 함수 사용하기..
-
[c] 소수 구하기 #1 (한정된 숫자 내에 있는 소수 걸러내기)
-
[c] 이진트리(binary tree) 샘플소스 (삽입, 삭제, 운행)
-
[mysql] 양력, 음력 DB데이터
-
[jsp] HelloServlet 출력문
-
[asp] 문자열 관련 함수 요약
-
[c] 근의 공식으로 2차방정식 풀기..
-
[c] 학생명단 관리 프로그램 소스 ㅋㅋ
-
[c] 단기과정[01/08] (다차원 + 배열)포인터, void 포인터