Develop
2013.04.23 15:29
[js] 서서히 나타나는 화면.. ㅋㅋ
Views 6190 Comment 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] 에디터.. swing 사용
-
[js] 서서히 나타나는 화면.. ㅋㅋ
-
[doc] C++언어 문법 설명서
-
[js] 자바스크립트 escape()를 PHP로 받기
-
[c] 윈도우 API Viewport와 Window
-
SVN(Subversion) 설치와 설정 (sasl 인증 적용 포함)
-
[mysql] MySQL 한글 깨짐 현상 해결하기(UTF8)
-
[windows] 윈도우즈 콘솔에서 정품인증 하는 방법
-
[mac] 맥(OSX)에서 NTFS, 윈도우에서 HFS+ 사용하기
-
[ios] Using protobuf(Protocol Buffers) on iPhone (iOS)
-
[linux] awk 명령어