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

¢£ JavaScript - ¥µ¥ó¥×¥ë½¸(257¼ïÎà) - ÆüÉÕ
¡¡¡¡ - Æü¿ô¥«¥¦¥ó¥È¥À¥¦¥ó¡Ê¥¹¥¯¥í¡¼¥ë¡¦¥Õ¥©¡¼¥àÈÇ¡Ë

ÀßÄꤷ¤¿Æü¤Ë¤Á¤Þ¤ÇÆü¿ô¤ò¥«¥¦¥ó¥È¥À¥¦¥ó¤·¤Þ¤¹¡£
¤â¤·»ØÄꤷ¤¿Æü¿ô¤¬¤¹¤Ç¤Ë²á¤®¤Æ¤¤¤ë¾ì¹ç¡¢·Ù¹ðʸ¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
»ØÄêÆüÅöÆü¤Ë¤Ï¡¢»ØÄꤷ¤¿¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£

¤È¤ê¤¢¤¨¤º2003ǯ1·î1Æü¤Þ¤Ç¤Î¥«¥¦¥ó¥È¥À¥¦¥ó¤Ç¤¹¡£

¡¦¥µ¥ó¥×¥ë¤ò¸«¤ë
¡¦¥½¡¼¥¹¤òÊݸ¤¹¤ë
¡Ê±¦¥¯¥ê¥Ã¥¯¢ª¡ÖÂоݤò¥Õ¥¡¥¤¥ë¤ËÊݸ¡×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

	//¥«¥¦¥ó¥È¥À¥¦¥ó¤¹¤ëǯ¤ò»ØÄꤹ¤ë
	tosi=2003;

	//¥«¥¦¥ó¥È¥À¥¦¥ó¤¹¤ë·î¤ò»ØÄꤹ¤ë
	tuki=1;

	//¥«¥¦¥ó¥È¥À¥¦¥ó¤¹¤ëÆü¤ò»ØÄꤹ¤ë
	hi=1;

	//¥«¥¦¥ó¥È¥À¥¦¥ó¤¬½ªÎ»¤·¤Æ¤ë¾ì¹ç¤Ëɽ¼¨¤¹¤ëʸ»ú
	moji='ÀßÄꤷ¤¿ÆüÉդϤ¹¤Ç¤Ë²á¤®¤Æ¤¤¤Þ¤¹¡£';

	//¥«¥¦¥ó¥È¥À¥¦¥ó¥¼¥í¤Çɽ¼¨¤¹¤ëʸ»ú
	moji2='º£Æü¤Ï2003ǯ¤Î¸µÃ¶¤Ç¤¹¡£';

	//¥«¥¦¥ó¥È¥À¥¦¥óÃæ¤Ëɽ¼¨¤¹¤ëʸ»ú¤ÎÁ°È¾
	moji3='¸µÃ¶¤Þ¤Ç¸å';
	//¥«¥¦¥ó¥È¥À¥¦¥óÃæ¤Ëɽ¼¨¤¹¤ëʸ»ú¤Î¸åȾ
	moji4='Æü';

	//ή¤ì¤ëÁᤵ¤ò»ØÄꤹ¤ë
	hayasa=150;


	my_time=0;
	hajime=0;
	kekkamoji='';
	function count()
		{
		hiduke=new Date();
		ima=hiduke.getTime();
		my=new Date(tosi+'/'+tuki+'/'+hi).getTime();
		if(my < ima && ima < my+86400000)
			{
			kekkamoji=moji2;
			ScrollMoji();
			}
		else if(my < ima)document.form1.text1.value=moji1;
		else 
			{
			my=Math.ceil((my-ima)/60/60/24/1000);
			kekkamoji=tosi+"ǯ"+tuki+"·î"+hi+"Æü"+moji3+my+moji4;
			ScrollMoji();
			}
		}
	function ScrollMoji()
		{
		ji="¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡";
		bunn=ji+kekkamoji;
		len=bunn.length+1;
		document.form1.text1.value=bunn.substring(hajime,len);
		hajime=(hajime > len)?0:hajime+1;
		clearTimeout(my_time);
		my_time=setTimeout('count()',hayasa);
		}

//-->
</script>

</head>

<body onLoad="count();">

<form name="form1">
<input type="text" name="text1" size="30">
</form>

</body></html>


[ ²òÀâ ]

¥«¥¦¥ó¥È¥À¥¦¥ó¤·¤¿¤¤ÆüÉÕ¤ò¡¢¤½¤ì¤¾¤ìǯ¡¢·î¡¢ÆüÊ̤ǿô»ú¤Çµ­Æþ¤·¤Þ¤¹¡£
¤Þ¤º¾å¤«¤é5¹ÔÌܤΡÖtosi=2003;¡×¤Ëǯ¿ô¡¢
¼¡¤Î¹Ô¤Î¡Ötuki=1;¡×¤Ë·î¡¢
¼¡¤Î¹Ô¤Î¡Öhi=1;¡×¤ËÆü¤Ë¤Á¤òÆþ¤ì¤Æ²¼¤µ¤¤¡£

¿ô»ú¤Ïɬ¤ºÈ¾³Ñʸ»ú¤Ç½ñ¤¤¤Æ²¼¤µ¤¤¡£
ǯ¿ô¤Ïɬ¤ºÀ¾Îñ4·å¡Ê¤³¤ì¤âȾ³Ñ¿ô»ú¤Ç¡Ë¤Ç½ñ¤¤¤Æ²¼¤µ¤¤¡£

¾å¤«¤é8¹ÔÌܤˤ¢¤ë¡ÖÀßÄꤷ¤¿ÆüÉդϤ¹¤Ç¤Ë²á¤®¤Æ¤¤¤Þ¤¹¡£¡×¤È½ñ¤¤¤Æ¤¢¤ëÉôʬ¤Ë¡¢ »ØÄêÆü¤ò²á¤®¤¿»þ¤Ëɽ¼¨¤µ¤»¤¿¤¤¥á¥Ã¥»¡¼¥¸¤òÆþ¤ì¤Æ¤¯¤À¤µ¤¤¡£
¾å¤«¤é9¹ÔÌܤΡֺ£Æü¤Ï2003ǯ¤Î¸µÃ¶¤Ç¤¹¡£¡×¤Ë¡¢»ØÄêÆüÅöÆü¤Ëɽ¼¨¤µ¤»¤¿¤¤¥á¥Ã¥»¡¼¥¸¤òÆþ¤ì¤Æ¤¯¤À¤µ¤¤¡£
¾å¤«¤é10¹ÔÌܤΡָµÃ¶¡×¤Ë¡¢°ìÂβ¿¤ÎÆü¤Þ¤Ç¤Î¥«¥¦¥ó¥È¥À¥¦¥ó¤Ê¤Î¤«Å¬ÀÚ¤ÊÀâÌÀ¤òµ­Æþ¤·¤Æ¤¯¤À¤µ¤¤¡£

¥¹¥¯¥í¡¼¥ë¤¹¤ëÁᤵ¤òÊѤ¨¤¿¤¤¾ì¹ç¤Ï¡¢
¾å¤«¤é11¹ÔÌܤÎ
hayasa=150;
¤Î¡Ö150¡×¤Î¿ôÃͤòÊѹ¹¤·¤Æ¤¯¤À¤µ¤¤¡£

¾®¤µ¤¤¿ôÃͤʤé¤è¤êÁ᤯¡¢Â礭¤Ê¿ôÃͤʤé¤è¤êÃÙ¤¯¤Ê¤ê¤Þ¤¹¡£


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

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