¥¯¥Ã¥¡¼¤ò»È¤¦¥¹¥¯¥ê¥×¥È¤Ç¤¹¡£
¥æ¡¼¥¶¡¼¤Î̾Á°¤òÆþÎϤ·¤Æ¤â¤é¤Ã¤Æ¡¢°§»¢Ê¸¤È°ì½ï¤Ë̾Á°¤âɽ¼¨¤·¤Þ¤¹¡£
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
//¥¯¥Ã¥¡¼¤ÎÊݸÆü¿ô¤ò»ØÄꤹ¤ë
//3¤Ê¤éÆü´Ö¡¢5¤Ê¤é5Æü´Ö
kikan=3;
//̾Á°¤Î¸å¤Ëɽ¼¨¤¹¤ëʸ¾Ï¤ò»ØÄꤹ¤ë
bunn='¤µ¤ó¡¢¤³¤ó¤Ë¤Á¤Ï';
//̾Á°¤¬¸«ÆþÎϤξì¹ç¤Ëɽ¼¨¤¹¤ë̾Á°¤ÎÂå¤ï¤ê¤Îʸ»ú
not_name='̵̾¤·';
//¥¯¥Ã¥¡¼¤Ç»ÈÍѤ¹¤ë̾¾ÎÉôʬ
my_name="na1";
my_datas=new Array();
my_datas2=new Array();
my_name="WEST_MiRaCookie"+my_name;
CookieData="";
function DataRead()
{
if(document.cookie.length > 0 && document.cookie.indexOf(my_name) != -1)
{
my_datas=document.cookie.split("; ");
for(i=0; i<my_datas.length; i++)
{ if(my_datas[i].indexOf(my_name) != -1)break; }
my_datas2=my_datas[i].split("=");
my_datas2[1]=unescape(my_datas2[1]);
}
return my_datas2[1];
}
function DataWrite(datas)
{
jikann=new Date();
ima=new Date(jikann.getTime()+(kikan*24*60*60*1000));
datas=escape(datas);
document.cookie=my_name+"="+datas+";expires="+ima.toGMTString();
return;
}
function NameInput()
{
CookieData=DataRead();
if(CookieData == "" || CookieData == null)
CookieData=prompt("µ®Êý¤Î¤ªÌ¾Á°¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£","");
if(CookieData != "" && CookieData != null)
{
DataWrite(CookieData);
document.form1.text1.value=CookieData;
}
else document.form1.text1.value=not_name;
document.form1.text1.value+=bunn;
}
//-->
</script>
</head>
<body onLoad="NameInput();">
<form name="form1">
<input type="text" size="60" name="text1"><br>
</form>
¡¡¡¦
¡¡¡¦
¡¡¡¦
</body></html>
[ ²òÀâ ]
¾å¤«¤é7¹ÔÌܤÎ
kikan=90;
¤Ë¡¢¥¯¥Ã¥¡¼¤Î͸ú´ü¸Â¤ò½ñ¤¤¤Æ²¼¤µ¤¤¡£
͸ú´ü¸Â¤ÏÆü¿ô¤ò¤ª½ñ¤²¼¤µ¤¤¡£
Î㤨¤Ð
3Æü¤Ê¤é¡Ökikan=3;¡×
1¥ö·î¤Ê¤é¤Ð¡Ökikan=30;¡×
¤È¸À¤¦¤è¤¦¤Ë¤ª½ñ¤²¼¤µ¤¤¡£
¤â¤·¤³¤Î¥¹¥¯¥ê¥×¥È¤òÊ£¿ô¤Î¥Ú¡¼¥¸¤Ç»È¤¦¾ì¹ç¤Ï¡¢
ɬ¤º¾å¤«¤é8¹ÔÌܤΡÖmy_name="na1";¡×¤Ë¡¢¥¯¥Ã¥¡¼¤Î̾Á°¤ò¤´µÆþ²¼¤µ¤¤¡£
1¤Ä¤Î¥Ú¡¼¥¸¤Ç¤·¤«»È¤ï¤Ê¤¤¤Ê¤é¡¢Êѹ¹¤»¤º¤Ë¤½¤Î¤Þ¤ÞÍøÍѤ·¤ÆÂç¾æÉפǤ¹¡£
¤³¤ÎºÝ¡¢Ì¾Á°¤¬Â¾¤Î¥Ú¡¼¥¸¤Ç»ÈÍѤ·¤Æ¤¤¤ë̾Á°¤È½ÅÊ£¤·¤Ê¤¤¤è¤¦¤´Ãí°Õ²¼¤µ¤¤¡£
¤Þ¤¿¡¢Ì¾Á°¤Ï3ʸ»úÄøÅÙ¤Îû¤¤¤â¤Î¤Ë¤·¤Þ¤·¤ç¤¦¡£
Î㤨¤Ð¡Ö1.html¡×¤Ç¥¯¥Ã¥¡¼¤ò»È¤¤¡¢¡Ö2.html¡×¤Ç¤â¥¯¥Ã¥¡¼¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç¡£
¡Ö1.html¡×¤Ç¡Ömy_name="na1";¡×¤È»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢
¡Ö2.html¡×¤Ç¡Ömy_name="na2";¡×¤Î¤è¤¦¤Ë¡¢Ì¾Á°¤òÊѹ¹¤·¤Æ¤¯¤À¤µ¤¤¡£
¼¡¤Ë¡¢¾å¤«¤é8¹ÔÌܤΡ֤µ¤ó¡¢¤³¤ó¤Ë¤Á¤Ï¡×¤Ë¡¢Ì¾Á°¤Î¸å¤í¤Ëɽ¼¨¤¹¤ëʸ»ú¤ò¤ª½ñ¤²¼¤µ¤¤¡£
¾å¤«¤é9¹ÔÌܤΡÖ̵̾¤·¡×¤Ë¤Ï¡¢Ì¾Á°¤òÆþÎϤ·¤Æ¤â¤é¤¨¤Ê¤«¤Ã¤¿ºÝ¤Ëɽ¼¨¤¹¤ë¡¢²¾¾Î¤ò¤ª½ñ¤²¼¤µ¤¤¡£
¥Õ¥©¡¼¥à¤Î¥µ¥¤¥º¤òÊѹ¹¤¹¤ëºÝ¤Ï¡¢HTMLÆâ¤Î¥Æ¥¥¹¥È¥Ü¥Ã¥¯¥¹¥¿¥°¤Ë¤¢¤ë¡Ösize="60"¡×¤ò¤´Êѹ¹²¼¤µ¤¤¡£
|