Develop
2013.04.23 15:29
[js] 서서히 나타나는 화면.. ㅋㅋ
Views 6230 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>
No. | Category | Subject | Author | Date | Views |
---|---|---|---|---|---|
361 | Develop | [ios] UIAlertView 초간단 샘플 ㅎㅎ | hooni | 2013.10.14 | 46198 |
360 | Develop | [ios] UIButton multi-line iOS7 | hooni | 2014.01.09 | 11465 |
359 | Develop | [ios] UIColor 지정에서 RGB define ㅎㅎ | hooni | 2013.04.23 | 22969 |
358 | Develop | [ios] UILabel top alignㅎㅎ | hooni | 2013.04.23 | 22894 |
357 | Develop | [ios] UITableView 특정 Row만 Update | hooni | 2014.04.08 | 4844 |
356 | Develop | [ios] UIView에서 상위 UIViewController 가져오기 | hooni | 2013.09.27 | 20253 |
355 | Develop | [ios] UIWebView 캐쉬 삭제 | hooni | 2014.04.08 | 3710 |
354 | Develop | [ios] UIWebView 쿠키 유지 | hooni | 2014.01.16 | 11757 |
353 | Develop | [ios] UIWebView를 이용한 로컬 HTML 파일 표시 | hooni | 2015.01.02 | 1342 |
352 | Develop | [ios] UIWebView에서 NSURLRequest에 Cookie 실어 보내기 | hooni | 2014.01.16 | 14908 |
351 | Develop | [ios] UIWebView에서 로컬에 있는 html 파일 불러오기 | hooni | 2015.02.10 | 978 |
350 | Develop | [ios] UI컨트롤러 샘플코드 | hooni | 2013.08.08 | 15487 |