かんたん作成.com【HTML,CSS,JavaScript,CGI,PHP】
|
 BB-Server ドメイン取得、利用開始まで最短60分!! お申し込みからドメイン取得・セットアップまで最短1時間〜最長24時間でご利用いただけます!お急ぎの方はご入金後、電話にて連絡すると更にスピーディー!サーバー移行も早くて簡単! |
 Yahoo! BB ◇ADSLの切り替えが条件次第で同日で可能!Yahoo! BBの詳細はこちら◇ わずらわしいケーブルが消えた! Yahoo! BBでは家でも街でも高速ワイヤレスブロードバンドが満喫できちゃう!「Yahoo! BB 50M+無線LANパック」をお申込いただくと「下り最大50Mbps」の高速インターネット接続や、長距離電話に威力を発揮する「BBフォン」さらにベッドでもキッチンでも快適ネットサーフィンが楽しめる「無線LANパック」の3つのサービスがワンパッケージでご利用できちゃう。 |
 Bfitセキュア 月額300円でSSLレンタルサーバー あなたのサイトの個人情報は、守られていますか?SSL通信(暗号化通信)を利用することで、あなたのサイトの個人情報を守ります。しかも、月額300円。 |
|
カレンダー
<html>
<head>
<title>カレンダー</title>
</head>
<body>
<table border="10" bordercolor="#ff9966" cellpadding="5" cellspacing="0">
<script language="JavaScript">
<!--
today = new Date();
year = today.getFullYear(); // 今日の年
month = today.getMonth(); // 今日の月
date = today.getDate(); // 今日の日
start = new Date(year + "/" + (month + 1) + "/1");
startday = start.getDay(); // 今月1日の曜日
for(i = 28 ; i <= 32 ; i++) { // 今月最後を調べる
check = new Date(year + "/" + (month + 1) + "/" + i);
if(check.getMonth() != month) {
enddate = i - 1; // 最後の日
endday = check.getDay() - 1; // 最後の曜日
if(endday < 0) {
endday += 7;
}
break;
}
}
count = 0;
document.write('<tr>');
document.write('<td colspan="7" align="center"><font size="+1">');
document.write(month + 1);
document.write('</font><font size="-1">月</font></td>');
document.write('</tr>');
for(i = 0 ; i < startday ; i++) { // 1日の曜日までの空欄
if(count == 0) {
document.write('<tr>');
}
document.write('<td> </td>');
++count;
}
for(i = 1 ; i <= enddate ; i++) { // 日付を書き出す
if(count == 0) {
document.write('<tr>');
}
if(i == date) {
document.write('<td align="right" bgcolor="#ddffff">');
}
else {
document.write('<td align="right">');
}
if(count == 0) {
document.write('<font color="red">');
}
if(count == 6) {
document.write('<font color="blue">');
}
document.write(i);
if(count == 0) {
document.write('</font>');
}
if(count == 6) {
document.write('</font>');
}
document.write('</td>');
++count;
if(count == 7) {
document.write('</tr>');
count = 0;
}
}
for(i = endday ; i < 6 ; i++) { // 最後の日から土曜までの空欄
document.write('<td> </td>');
++count;
if(count == 7) {
document.write('</tr>');
}
}
//-->
</script>
</table>
</body>
</html>
実行する
|
当サイトはリンクフリーです。
<a href="http://www.kantansakusei.com/">かんたん作成.com【HTML,CSS,JavaScript,CGI,PHP】</a>
|