WEST MiRa(1,739 Byte)
JavaScript(1,601 Byte)
DHCƒIƒ“ƒ‰ƒCƒ“ƒVƒ‡ƒbƒv

¢£ JavaScript - ¥µ¥ó¥×¥ë½¸(257¼ïÎà) - ¥Ñ¡¼¥Ä
¡¡¡¡ - ¥«¥ì¥ó¥À¡¼

º£·î¤Î¥«¥ì¥ó¥À¡¼¤òɽ¼¨¤¹¤ë¥¹¥¯¥ê¥×¥È¤Ç¤¹¡£
ÅÚÍˤòÀÄ¿§¤Ë¡¢ÆüÍˤòÀÖ¿§¡¢ÅöÆü¤òÌÜΩ¤Ä¤è¤¦¤ËÇÛ¿§¤·¤Æ¤¤¤Þ¤¹¡£
ÇÛ¿§¤Ï¹¥¤­¤Ê¤è¤¦¤ËÊѹ¹¤Ç¤­¤Þ¤¹¡£

¡¦¥µ¥ó¥×¥ë¤ò¸«¤ë
¡¦¥½¡¼¥¹¤òÊݸ¤¹¤ë
¡Ê±¦¥¯¥ê¥Ã¥¯¢ª¡ÖÂоݤò¥Õ¥¡¥¤¥ë¤ËÊݸ¡×or¡Ö¥ê¥ó¥¯¤ò̾Á°¤òÉÕ¤±¤ÆÊݸ¡×¤·¤Æ²¼¤µ¤¤¡£¡Ë
¡¦¥½¡¼¥¹¤ò¸«¤ë
¡¦²òÀâ¤ò¸«¤ë





[ ¥½¡¼¥¹ ]

<html>
<head>
	<meta http-equiv=<Content-Type< content=<text/html; charset=Shift_JIS<>

<script language=<JavaScript<>
<!--//Copyright (C) WEST MiRa http://www.west-mira.jp

	//ÍËÆü̾
	youbis=new Array('Æü','·î','²Ð','¿å','ÌÚ','¶â','ÅÚ');

	//ÆüÍËÆü¤Îʸ»ú¿§
	sunday_color=<#b54b44<;

	//ÅÚÍËÆü¤Îʸ»ú¿§
	saturday_color=<#3f6a90<;

	//º£Æü¤Îʸ»ú¿§
	today_color=<#f0e9d5<;

	//º£Æü¤ÎÇØ·Ê¿§
	today_bgcolor=<#82ad41<;

	//¥«¥ì¥ó¥À¡¼Á´ÂΤÎÇØ·Ê¿§
	table_bgcolor=<#f4e8d1<;

	//ÍËÆü̾Íó¤ÎÇØ·Ê¿§
	th_bgcolor=<#ffa96f<;

	//³ÆÆüÉÕÍó¤Î²£Éý
	td_width=50;

	//³ÆÆüÉÕÍó¤Î¹â¤µ
	td_height=50;

	//ʸ»ú¤Î¥µ¥¤¥º
	font_size=14;

	hiniti=new Array(31,28,31,30,31,30,31,31,30,31,30,31);
	function calendar()
		{
		jikoku=new Date();
		nenn=jikoku.getFullYear();
		tuki=jikoku.getMonth();
		kyou=jikoku.getDate();
		youbi=jikoku.getDay();
		my_week=0;
		if(nenn%4==0)hiniti[1]=29;
		else hiniti[1]=28;
		tuitati=new Date(nenn+</<+(tuki+1)+</1<);
		tuitati_youbi=tuitati.getDay();

		document.write('<table border=<1< cellpadding=<2< bgcolor=<'+table_bgcolor+'<><tr>');
		for(i=0; i<youbis.length; i++)
			{
			if(i==0)document.write('<th width=<'+td_width+'<bgcolor=<'+th_bgcolor+'<><font style=<font-size:'+font_size+'pt;< color=<'+sunday_color+'<>'+youbis[i]+'<\/font><\/th>');
			else if(i==6)document.write('<th width=<'+td_width+'< bgcolor=<'+th_bgcolor+'<><font style=<font-size:'+font_size+'pt;< color=<'+saturday_color+'<>'+youbis[i]+'<\/font><\/th>');
			else document.write('<th width=<'+td_width+'< bgcolor=<'+th_bgcolor+'<>'+youbis[i]+'<\/th>');
			}
		document.write('<\/tr><tr align=<center< valign=<top<>');

		j=1;
		for(i=0; i<7; i++)
			{
			if(i<tuitati_youbi)document.write('<td width=<'+td_width+'< height=<'+td_height+'<><br><\/td>');
			else 
				{
				if(j==kyou)document.write('<td width=<'+td_width+'< height=<'+td_height+'< bgcolor=<'+today_bgcolor+'<><font style=<font-size:'+font_size+'pt;< color=<'+today_color+'<>'+j+'<\/font><\/td>');
				else if(i==0)document.write('<td width=<'+td_width+'< height=<'+td_height+'<><font style=<font-size:'+font_size+'pt;< color=<'+sunday_color+'<>'+j+'<\/font><\/td>');
				else if(i==6)document.write('<td width=<'+td_width+'< height=<'+td_height+'<><font style=<font-size:'+font_size+'pt;< color=<'+saturday_color+'<>'+j+'<\/font><\/td>');
				else document.write('<td width=<'+td_width+'< height=<'+td_height+'<><font style=<font-size:'+font_size+'pt;<>'+j+'<\/font><\/td>');
				doyou=j; nitiyou=doyou+1; j++;
				}
			}
		document.write('<\/tr>');

		i=0;
		while(j<=hiniti[tuki])
			{
			document.write('<tr align=<center< valign=<top<>');
			while(i<youbis.length+my_week)
				{
				 if(j<=hiniti[tuki])
					{
					if(doyou==7){doyou=0; nitiyou=1}
					else if(doyou==6){doyou=6; nitiyou=0}
					if(j==kyou)document.write('<td width=<'+td_width+'< height=<'+td_height+'< bgcolor=<'+today_bgcolor+'<><font style=<font-size:'+font_size+'pt;< color=<'+today_color+'<>'+j+'<\/font><\/td>');
					else if(j%7==nitiyou)document.write('<td width=<'+td_width+'< height=<'+td_height+'<><font style=<font-size:'+font_size+'pt;< color=<'+sunday_color+'<>'+j+'<\/font><\/td>');
					else if(j%7==doyou)document.write('<td width=<'+td_width+'< height=<'+td_height+'<><font style=<font-size:'+font_size+'pt;< color=<'+saturday_color+'<>'+j+'<\/font><\/td>');
					else document.write('<td width=<'+td_width+'< height=<'+td_height+'<><font style=<font-size:'+font_size+'pt;<>'+j+'<\/td>');
					j++; i++;
					}
				 else 
				 	{
				 	document.write('<td width=<'+td_width+'< height=<'+td_height+'<><br><\/td>');
				 	j++; i++;
				 	}
				 }
			document.write('<\/tr>');
			my_week+=7;
			}

		document.write('<\/table>');
		}

//-->
</script>

</head>

<body>

<script language=<JavaScript<>
<!--//Copyright (C) WEST MiRa http://www.west-mira.jp

	calendar();

//-->
</script>

</body></html>


[ ²òÀâ ]

¥½¡¼¥¹¤ò´Ý¤´¤È¥³¥Ô¡¼¥Ú¡¼¥¹¥È¤·¤Æ²¼¤µ¤¤¡£

Êѹ¹²Äǽ²Õ½ê¤Ï¥½¡¼¥¹Æâ¤ËÃí°Õ½ñ¤­¤ò¤·¤Æ¤¢¤ê¤Þ¤¹¤Î¤Ç¡¢ ¤½¤ì¤Ë±è¤Ã¤Æ¤´Êѹ¹²¼¤µ¤¤¡£


¥Ð¥Ê¡¼¡¢¥ê¥ó¥¯¤Ë¤Ä¤¤¤Æ  ,   ÍøÍѵ¬Ìó  ,   ¥Ø¥ë¥×

Copyright (C) 1998-2007 WEST MiRa. All rights reserved.