묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
시간별로 변하는 배경질문입니다 ㅎㅎ
2006.02.23 11:25
<script language="JavaScript">
<!--
day=now Date()
Times=day.get Hours()
if(Times==0) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==1) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==2) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==3) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==4) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==5) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==6) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==7) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==8) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==9) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==10) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==11) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==12) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==13) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==14) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==15) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==16) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==17) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==18) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==19) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==20) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==21) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==22) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==23) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==24) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
//-->
</script>
저걸로 알고있는데요... 이상하게 아무 배경도 안뜨구 이상하네요..
머가 문제인지 ㅎㅎ
부탁드립니다 ㅎ
<!--
day=now Date()
Times=day.get Hours()
if(Times==0) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==1) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==2) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==3) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==4) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==5) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==6) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==7) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==8) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==9) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==10) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==11) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==12) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==13) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==14) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==15) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==16) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==17) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==18) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==19) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==20) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==21) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==22) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==23) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
if(Times==24) {
document.write('<body bgcolor="black" leftmargin="0" topmargin="0">')
} else
//-->
</script>
저걸로 알고있는데요... 이상하게 아무 배경도 안뜨구 이상하네요..
머가 문제인지 ㅎㅎ
부탁드립니다 ㅎ