<center>
<!----------년, 월. 일 날짜 표시이벤트------------------->
<b><font color="#99CC33" face="굴림" size="0.1">
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
monName = new Array("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12")
dayName = new Array("일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일")
now = new Date
// End -->
</script>
<!-- Begin
monName = new Array("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12")
dayName = new Array("일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일")
now = new Date
// End -->
</script>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var strDay;
if ((now.getDate() == 1) || (now.getDate() != 11) && (now.getDate() % 10 == 1))
strDay = " ";
else if ((now.getDate() == 2) || (now.getDate() != 12) && (now.getDate() % 10 == 2))
strDay = " ";
else if ((now.getDate() == 3) || (now.getDate() != 13) && (now.getDate() % 10 == 3))
strDay = " ";
else
strDay = "일 ";
document.write(
now.getFullYear()
+
"년 "
+
monName[now.getMonth()]
+
"월 "
+
now.getDate()
+
strDay
+
dayName[now.getDay()]
+
"년 "
+
monName[now.getMonth()]
+
"월 "
+
now.getDate()
+
strDay
+
dayName[now.getDay()]
)
// End -->
</script>
</font></b>
// End -->
</script>
</font></b>
<!-----------년, 월. 일 날짜 표시이벤트 여기까지--------------->
<!-----------현재시간 이벤트---------------------------->
<b><font color="#99CC33" face="굴림" size="0.1">
<BODY onLoad="clock()">
<span id="pendule"></span>
<SCRIPT LANGUAGE="JavaScript">
<span id="pendule"></span>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function clock() {
if (!document.layers && !document.all) return;
var digital = new Date();
var hours = digital.getHours();
var minutes = digital.getMinutes();
var seconds = digital.getSeconds();
var amOrPm = "";
if (hours > 11) amOrPm = "";
if (hours > 12) hours = hours - 12;
if (hours == 0) hours = 12;
if (minutes <= 9) minutes = "0" + minutes;
if (seconds <= 9) seconds = "0" + seconds;
dispTime = hours + "시 " + minutes + "분 " + seconds + "초" + amOrPm;
if (document.layers) {
document.layers.pendule.document.write(dispTime);
document.layers.pendule.document.close();
}
else
if (document.all)
pendule.innerHTML = dispTime;
setTimeout("clock()", 1000);
}
// End -->
</script>
</font></b><font size="1" color="99CC33">입니다</font>
function clock() {
if (!document.layers && !document.all) return;
var digital = new Date();
var hours = digital.getHours();
var minutes = digital.getMinutes();
var seconds = digital.getSeconds();
var amOrPm = "";
if (hours > 11) amOrPm = "";
if (hours > 12) hours = hours - 12;
if (hours == 0) hours = 12;
if (minutes <= 9) minutes = "0" + minutes;
if (seconds <= 9) seconds = "0" + seconds;
dispTime = hours + "시 " + minutes + "분 " + seconds + "초" + amOrPm;
if (document.layers) {
document.layers.pendule.document.write(dispTime);
document.layers.pendule.document.close();
}
else
if (document.all)
pendule.innerHTML = dispTime;
setTimeout("clock()", 1000);
}
// End -->
</script>
</font></b><font size="1" color="99CC33">입니다</font>
<!---------시간대별로 바뀌는인사 이벤트--------------->
<b><font color="99CC33" face="굴림" size="0.5">
<script language="JavaScript">
<script language="JavaScript">
<!--
today = new Date()
if(today.getMinutes() < 10){ pad = "0"}
else pad = "";
document.write ;if((today.getHours() >=6) && (today.getHours() <=7))
{ document.write("둥근해가 떴습니다... 굿모닝^^v") }
if((today.getHours() >=8) && (today.getHours() <=9))
{ document.write("행복한 하루되세요.오늘도 화이팅!") }
if((today.getHours() >=10) && (today.getHours() <=12))
{ document.write("정신없이 바쁘시죠..힘내세요") }
if((today.getHours() >=13) && (today.getHours() <=14))
{ document.write("점심은 맛있게 드셨나요?") }
if((today.getHours() >=15) && (today.getHours() <=17))
{ document.write("나른한 오후시간 음악한곡 어떨까요") }
if((today.getHours() >=18) && (today.getHours() <=20))
{ document.write("퇴근은 하셨나요? 오늘애인과 데이트약속 잊지마세요^^") }
if((today.getHours() >=21) && (today.getHours() <=23))
{ document.write("오늘 행복하셨나요?") }
if((today.getHours() >=0) && (today.getHours() <=3))
{ document.write("밤이깊어네요 안녕히주무세요... 내 꿈꿔") }
if((today.getHours() >=4) && (today.getHours() <=5))
{ document.write("아직까지 취침을 안하셨네요.. 저랑커피한잔 하실래요") }
// -- End Hiding Here -->
</script>
</b></font>
today = new Date()
if(today.getMinutes() < 10){ pad = "0"}
else pad = "";
document.write ;if((today.getHours() >=6) && (today.getHours() <=7))
{ document.write("둥근해가 떴습니다... 굿모닝^^v") }
if((today.getHours() >=8) && (today.getHours() <=9))
{ document.write("행복한 하루되세요.오늘도 화이팅!") }
if((today.getHours() >=10) && (today.getHours() <=12))
{ document.write("정신없이 바쁘시죠..힘내세요") }
if((today.getHours() >=13) && (today.getHours() <=14))
{ document.write("점심은 맛있게 드셨나요?") }
if((today.getHours() >=15) && (today.getHours() <=17))
{ document.write("나른한 오후시간 음악한곡 어떨까요") }
if((today.getHours() >=18) && (today.getHours() <=20))
{ document.write("퇴근은 하셨나요? 오늘애인과 데이트약속 잊지마세요^^") }
if((today.getHours() >=21) && (today.getHours() <=23))
{ document.write("오늘 행복하셨나요?") }
if((today.getHours() >=0) && (today.getHours() <=3))
{ document.write("밤이깊어네요 안녕히주무세요... 내 꿈꿔") }
if((today.getHours() >=4) && (today.getHours() <=5))
{ document.write("아직까지 취침을 안하셨네요.. 저랑커피한잔 하실래요") }
// -- End Hiding Here -->
</script>
</b></font>
</center>
요소스를 그림과 같이 폰트 크기와 색을 바꾸고 싶습니다 ..
요소스를 그림과 같이 폰트 크기와 색을 바꾸고 싶습니다 ..
제가 바꾸려고 시도해 봤습니다만 역시 초보라
안되네요 ㅜ.ㅜ
첨부파일
댓글을 작성하시려면 로그인이 필요합니다.
댓글 2개
==>
<b><font color="#99CB34" face="굴림" size="0.1" style="background-color:#000000;">