°ú¤»»¤òÍ·¤ó¤Ç³Ð¤¨¤ë¤¿¤á¤Î¥¹¥¯¥ê¥×¥È¤Ç¤¹¡£
¿ô»ú¤ò¥¯¥ê¥Ã¥¯¤·¤ÆÁªÂò¤·¤¿¸å¡¢¡ÖÅú¤¨¤Ï¡©¡×¤Î¥Ü¥¿¥ó¤ò²¡¤¹¤È·ë²Ì¤¬½Ð¤Þ¤¹¡£
¤â¤¦°ìÅÙ¥Á¥ã¥ì¥ó¥¸¤¹¤ë»þ¤Ï¡¢¡Ö¤â¤¦°ìÅÙ¡ª¡×¥Ü¥¿¥ó¤ò²¡¤·¤Æ²¼¤µ¤¤¡£
¤³¤ì¤Ï°ì·å¤Î°ú¤»»¤ËÂбþ¤·¤Æ¤¤¤Þ¤¹¡£
¡¦¥µ¥ó¥×¥ë¤ò¸«¤ë
¡¦¥½¡¼¥¹¤òÊݸ¤¹¤ë ¡Ê±¦¥¯¥ê¥Ã¥¯¢ª¡ÖÂоݤò¥Õ¥¡¥¤¥ë¤ËÊݸ¡×or¡Ö¥ê¥ó¥¯¤ò̾Á°¤òÉÕ¤±¤ÆÊݸ¡×¤·¤Æ²¼¤µ¤¤¡£¡Ë
¡¦¥½¡¼¥¹¤ò¸«¤ë ¡¦²òÀâ¤ò¸«¤ë
[ ¥½¡¼¥¹ ]
<html><head>
<script language="JavaScript">
<!--//Copyright (C) WEST MiRa http://www.west-mira.jp
suuji=new Array();
for(i=0;i<10;i++)
{suuji[i]=new Image();
suuji[i].src=""+i+".gif";}
suuji[10]=new Image();
suuji[10].src="hatena.gif";
suuji[11]=new Image();
suuji[11].src="-.gif";
function hajime()
{document.images["hitotu"].src=suuji[10].src;
document.images["hutatu"].src=suuji[10].src;
document.images["kotae1"].src=suuji[10].src;
document.images["kotae2"].src=suuji[10].src;}
function img_load()
{
for(i=0; i<suuji.length; i++)document.images["hidden"].src=suuji[i].src;
}
function kuku(kazu)
{if(document.images["hitotu"].src==suuji[10].src)
{document.images["hitotu"].src=suuji[kazu].src;
a=eval(kazu);}
else if(document.images["hutatu"].src==suuji[10].src)
{document.images["hutatu"].src=suuji[kazu].src;
b=eval(kazu);}
else
{kekka=String(a-b);
if(kekka.length>1)
{document.images["kotae1"].src=suuji[11].src;
document.images["kotae2"].src=suuji[eval(kekka.charAt(1))].src;}
else
{document.images["kotae1"].src=suuji[0].src;
document.images["kotae2"].src=suuji[eval(kekka)].src;}
}
}
//-->
</script>
</head>
<body onLoad="img_load();">
<div align="center">
<a href="javaScript:kuku(1);"><img src="1.gif" border="0"></a>
<a href="javaScript:kuku(2);"><img src="2.gif" border="0"></a>
<a href="javaScript:kuku(3);"><img src="3.gif" border="0"></a>
<a href="javaScript:kuku(4);"><img src="4.gif" border="0"></a>
<a href="javaScript:kuku(5);"><img src="5.gif" border="0"></a><br>
<a href="javaScript:kuku(6);"><img src="6.gif" border="0"></a>
<a href="javaScript:kuku(7);"><img src="7.gif" border="0"></a>
<a href="javaScript:kuku(8);"><img src="8.gif" border="0"></a>
<a href="javaScript:kuku(9);"><img src="9.gif" border="0"></a>
<a href="javaScript:kuku(0);"><img src="0.gif" border="0"></a>
<hr width="55%">
<img src="hatena.gif" name="hitotu" border="0">
<img src="-.gif" border="0">
<img src="hatena.gif" name="hutatu" border="0">
<img src="=.gif" border="0">
<img src="hatena.gif" name="kotae1" border="0">
<img src="hatena.gif" name="kotae2" border="0">
<form name="form1">
<input type="button" value="Åú¤¨¤Ï¡©" onClick="kuku();">
<input type="button" value="¤â¤¦°ìÅÙ¡ª" onClick="hajime();">
<img src="" name="hidden" width="1" height="1" border="0">
</form>
</div>
</body>
</html>
[ ²òÀâ ]
¤Þ¤º£°¡Á£¹¤Î³Æ¿ô»ú²èÁü¤òÍÑ°Õ¤·¤Þ¤¹¡£
¥Õ¥¡¥¤¥ë̾¤Ï¡Ö0¡×¤Ê¤é¤Ð¡Ö0.gif¡×¡¢¡Ö1¡×¤Ê¤é¤Ð¡Ö1.gif¡×¤ÈÉÕ¤±¤Æ²¼¤µ¤¤¡£
¡Ö-¡×¤ä¡Ö¡á¡×¤Î²èÁü¤âɬÍפʤé¤Ðºî¤Ã¤Æ²¼¤µ¤¤¡£
ʸ»ú¤Ç¤âÎɤ¤¤Î¤Ê¤é¤Ð¡¢²¼¤«¤é£±£³¹ÔÌܤ¬¡Ö-¡×¡¢
²¼¤«¤é£±£±¹ÔÌܤ¬¡Ö¡á¡×¤Î¥¿¥°¤ËÂбþ¤·¤Æ¤¤¤ë¤Î¤Ç¡¢Ê¸»ú¤ËÃÖ¤´¹¤¨¤Æ²¼¤µ¤¤¡£
²¼¤«¤é£±£²¹ÔÌܤË<body>¤¬¤¢¤ê¤Þ¤¹¡£
¥Ü¥Ç¥£¥¿¥°Æâ¤Ë¤Ï¤ª¹¥¤¤Ê°À¤ò²Ã¤¨¤Æ¤¢¤²¤Æ²¼¤µ¤¤¡£
ÊÉ»æ¤äʸ»ú¿§¤Ê¤É¡¢¤ª¹¥¤¤ËÀßÄꤷ¤Æ²¼¤µ¤¤¡£
¥Ü¥Ç¥£Æâ¤ÎHTML¤Ë´Ø¤·¤Þ¤·¤Æ¤â¡¢¤ª¹¥¤¤ËÀßÄꤷ¤Æ²¼¤µ¤¤¡£
¤¿¤À¤·²¼¤«¤é£±£°¹ÔÌܤÎ<form name="form1">¤È¡¢
²¼¤«¤é£´¹ÔÌܤÎ</form>¤Î´Ö¤Ï¿¨¤é¤Ê¤¤¤Ç²¼¤µ¤¤¡£
|