날마다 바뀌는 배경
본문
<script>
today = new Date();
var day = today.getDay();
if(day==0) { myback = "이미지주소1";}
else if(day==1) { myback = "이미지주소2";}
else if(day==2) { myback = "이미지주소3";}
else if(day==3) { myback = "이미지주소4";}
else if(day==4) { myback = "이미지주소5";}
else if(day==5) { myback = "이미지주소6";}
else if(day==6) { myback = "이미지주소7";}
document.write("<body background=" + myback + ">");
</script>
출처 : http://www.aircon1004.com/data/bbs/board.php?bo_table=pds1&wr_id=81
today = new Date();
var day = today.getDay();
if(day==0) { myback = "이미지주소1";}
else if(day==1) { myback = "이미지주소2";}
else if(day==2) { myback = "이미지주소3";}
else if(day==3) { myback = "이미지주소4";}
else if(day==4) { myback = "이미지주소5";}
else if(day==5) { myback = "이미지주소6";}
else if(day==6) { myback = "이미지주소7";}
document.write("<body background=" + myback + ">");
</script>
출처 : http://www.aircon1004.com/data/bbs/board.php?bo_table=pds1&wr_id=81
관련링크
댓글목록
등록된 댓글이 없습니다.