免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
返回列表 發帖
謝謝分享!!!受益良多!!!

TOP

看看看看看看看看看看看

TOP

試試看囉~謝謝大大分享~

TOP

用代碼看看

TOP

進入論壇,彈出歡迎光臨

TOP

彈出歡迎光臨呀
我想看看><

TOP

<style>
.shd {style;border:1px dashed; border-color:blue;
color:white ;font:9pt Verdana;
background-color:black}
.shd2 { color:red ;font:9pt Verdana; }
.shd3 { colorrange ;font:9pt Verdana; }
.shd4 { color:green ;font:9pt Verdana; }
</style>
<script language="JavaScript">
function greeting(){
var today = new Date();
var hrs = today.getHours();
document.writeln("<TABLE width=220 cellSpacing=2 cellPadding=2 class=shd>");
document.write("<tr><td COLSPAN=7 align=center class=shd>各位好:");
if (hrs < 6)
document.write("(Early) Morning");
else if (hrs < 12)
document.write("早晨!");
else if (hrs <= 18)
document.write("午安!");
else
document.write("晚安!");
document.writeln("<tr><td COLSPAN=7 align=center class=shd>");
dayStr = today.toLocaleString();
document.write(dayStr);
document.writeln("");}
function montharr(m0, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11){
this[0] = m0;
this[1] = m1;
this[2] = m2;
this[3] = m3;
this[4] = m4;
this[5] = m5;
this[6] = m6;
this[7] = m7;
this[8] = m8;
this[9] = m9;
this[10] = m10;
this[11] = m11;}
function calendar(){
var monthNames = "JanFebMarAprMayJunJulAugSepOctNovDec";
var today = new Date();
var thisDay;
var monthDays = new montharr(31, 28, 31, 30, 31, 30, 31, 31, 30,
31, 30, 31);
year = today.getYear();
thisDay = today.getDate();
if (((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0))
monthDays[1] = 29;
nDays = monthDays[today.getMonth()];
firstDay = today;
firstDay.setDate(1);
testMe = firstDay.getDate();
if (testMe == 2)
firstDay.setDate(0);
startDay = firstDay.getDay();
document.write("<TR><TD class=shd><FONT class=shd3>Sun<TD class=shd>Mon<TD class=shd>Tue<TD class=shd>Wed<TD class=shd>Thu<TD class=shd>Fri<TD class=shd><FONT class=shd4>Sat");
docu
</script>

TOP

這是我想要的~

TOP

謝謝分享唷謝謝分享唷謝謝分享唷謝謝分享唷

TOP

卸卸大大無私的分享

TOP

返回列表