14
조회 수 : 3274 신고 : 0
<body>와 </body>사이에 아래소스 삽입
<SCRIPT Language="JavaScript">
  <!--
  function current_week() {
  var totalDays = 0; 
  now = new Date();
  years=now.getYear()
  if (years < 1000)
  years+=1900
  var days = new Array(12); // 한달 안의 날짜를 배열하였습니다. 
  days[0] = 31;
  days[2] = 31;
  days[3] = 30;
  days[4] = 31;
  days[5] = 30;
  days[6] = 31;
  days[7] = 31;
  days[8] = 30;
  days[9] = 31;
  days[10] = 30;
  days[11] = 31;
 if (Math.round(now.getYear()/4) == now.getYear()/4) {
  days[1] = 29
  }else{
  days[1] = 28
  }
  if (now.getMonth() == 0) { 
  totalDays = totalDays + now.getDate();
  }else{
  var curMonth = now.getMonth();
  for (var count = 1; count <= curMonth; count++) {
  totalDays = totalDays + days[count - 1];
  }
  totalDays = totalDays + now.getDate();
  }
  var week = Math.round(totalDays/7);
  return week;
  }
  document.write("금주는 이번해의<b>"+current_week()+"</b>번째 
  주 입니다.")
  // -->
  </SCRIPT>
추천수 10단위당 메달이 1개씩 노출되고, 추천수에 따라 배경색이 변하며, 일정수의 추천수를 받을시

첫번째 댓글을 남겨주세요!


 
						
- 추천수 50개이상
 
			- 추천수 30개이상
 
			- 추천수 20개이상
 
			- 추천수 10개이상
 
			- 추천수 3개이상
 
		
닫기