表紙に戻る
更新日時を入れる

ファイルの更新日を表示する

SAMPLE 

<script type="text/javascript" language="JavaScript">
<!--
document.write("
Last updated on " + document.lastModified +".")
//-->
</script>

赤字の部分は自由に変更できます

SAMPLE 

<script type="text/javascript" language="JavaScript">
<!--
update = new Date(document.lastModified)
theMonth = update.getMonth() + 1
theDate = update.getDate()
theYear = update.getYear()
if (navigator.appName == "Netscape") {
theYear = theYear - 88} else {theYear = theYear - 1988}
document.writeln("
最終更新日:平成" + theYear + "年" + theMonth + "月" + theDate + "日")
//-->
</script>

赤字の部分は自由に変更できます

SAMPLE 

<script type="text/javascript" language="JavaScript">
<!--
update = new Date(document.lastModified)
theMonth = update.getMonth() + 1
theDate = update.getDate()
theYear = update.getYear()
if (navigator.appName == "Netscape") {
theYear = theYear + 1900
}
document.writeln("
最終更新日:" + theYear + "年" + theMonth + "月" + theDate + "日")
//-->
</script>

赤字の部分は自由に変更できます

ランダム表示にする (サイトページが開くたびに更新します)

<!--ここから-->
<script language="JavaScript">
<!--
bbad=new Array();
bbad[0]='コメント文字を入れる';
bbad[1]='コメント文字を入れる';
bbad[2]='コメント文字を入れる';
i=Math.floor(Math.random()*bbad.length);document.write(bbad[i]);
// -->
</script>
<!--ここまで-->


ステータス行にスクロールメッセージを表示します

<SCRIPT language="JavaScript">
<!--
var msg = "
●●●●●●";
var delay = 100;
var pos = 100;
function scroll_status() {setTimeout("scroll_status()", delay);var out = "";
if (pos >= 0) {for (c = 0; c < pos; c++) {out += " ";}out += msg;}
else {out = msg.substring(-pos, msg.length);}
pos = (-pos > msg.length) ? 100 : pos - 1;window.status = out;}
scroll_status();
//-->
</SCRIPT>

●●●●●●にメッセージを入れます

copyright (C) 2009 popfam.jp. all rights reserved.