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] netty (비동기 이벤트 방식 네트워크 프레임워크) 사용법 #1 (server)
-
XML, JSON, BSON, MSGPACK 장,단점 비교
-
[c] 셀프 넘버(Self Number) 구하기
-
[ios] iOS앱의 Xcode 빌드 과정
-
[펌] 게임 엔진 만든거 공개합니다.
-
[php][laravel] 라라벨 프로젝트 생성 및 구조
-
[js] jQuery, Javascript 모바일(스마트폰) 판단하는 방법
-
[php] Laravel Route에서 PC/Mobile 분기
-
[php] Laravel 4. twitter bootstrap 적용하기
-
[js] show/hide 이벤트 감시 (Observing show/hide event)
-
[php][laravel] 라라벨 개발환경 세팅하기 (Mac, Window)
-
[js] Javascript로 만든 포트리스 (2010)