flash_kioku.php
<!DOCTYPE html>
<head>
<title>flash_kioku</title>
<script type="text/javascript" src="hantei.js"></script>
</head>
<body>
<script type="text/javascript"><!--
var ID="100705795";
var AD=0;
var FRAME=0;
// --></script>
<script src="http://j1.ax.xrea.com/l.j?id=100705795" type="text/javascript"></script>
<noscript>
<a href="http://w1.ax.xrea.com/c.f?id=100705795" target="_blank"><img src="http://w1.ax.xrea.com/l.f?id=100705795&url=X" alt="AX" border="0"></a>
</noscript>
<script>
<!--
var img = new Array();
var img2 = new Array(4);
img[0] = new Image();
img[0].src = "http://www.onlyonehappy.top/1.JPG";
img[1] = new Image();
img[1].src = "http://www.onlyonehappy.top/2.JPG";
img[2] = new Image();
img[2].src = "http://www.onlyonehappy.top/3.JPG";
img[3] = new Image();
img[3].src = "http://www.onlyonehappy.top/null.JPG";
img[4] = new Image();
img[4].src = "http://www.onlyonehappy.top/0.JPG";
var img2 = [5,5,5,5];
var id=0;
var n=0;
var s=0;
function appear_f1(){
document.getElementById("IMG1").src = img[0].src;
s += 1;
img2[n++] = 0;
}
function appear_f2(){
document.getElementById("IMG1").src = img[1].src;
s += 2;
img2[n++] = 1;
}
function appear_f3(){
document.getElementById("IMG1").src = img[2].src;
s += 3;
img2[n++] = 2;
}
function appear_f4(){
id++;
var timer = window.setTimeout("appear_f4()", 1000);
var rand = Math.floor(Math.random()*3);
if (rand==0){
appear_f7();}
else if(rand==1){
appear_f8();}
else{
appear_f9();}
if(id==3){
clearTimeout(timer);
id=0;
i=0;}
}
function appear_f6(){
document.getElementById("IMG1").src = img[3].src;
}
function appear_f7(){
timerID = window.setTimeout("appear_f1()", 800);
appear_f6();
}
function appear_f8(){
timerID = window.setTimeout("appear_f2()", 800);
appear_f6();
}
function appear_f9(){
timerID = window.setTimeout("appear_f3()", 800);
appear_f6();
}
function appear_f11(){
img2[0]=5;
img2[1]=5;
img2[2]=5;
a=5;
b=5;
c=5;
n=0;
myWin.window.close();
}
// -->
</script>
<form>
<IMG id="IMG1" name="num1" alt="" src="0.JPG">
<input type ="button" style = "position: absolute; left:50%; top: 50%"/ name = "b4" value = "start" onclick = "appear_f4()">
<INPUT id="Button2" style = "position: absolute; left:65%; top: 50%"/ onclick="appear_f10()" value="check" type="button" name="check">
<input type="button" style = "position: absolute; left:80%; top: 50%"/ onclick="appear_f11()" value="close" name="close">
</form>
</body>
</html>
今度は、フラッシュ記憶 PG です。^^
startで、表示が始まります。
checkで、判定。タブが開きます。
closeにて、判定タブを 閉じて下さい。
以下の hantei.jsファイルと、ワンセットです。
function appear_f10(){
var a = img2[0];
var b = img2[1];
var c = img2[2];
myWin = window.open();
myWin.document.open();
myWin.document.write("<html>");
myWin.document.write("<head>");
myWin.document.write("<title>hantei</title>");
myWin.document.write("</head>");
myWin.document.write("<body>");
myWin.document.write("<img src=", img[a].src, "><br />");
myWin.document.write("<img src=", img[b].src, "><br />");
myWin.document.write("<img src=", img[c].src, "><br />");
myWin.document.write("</body>");
myWin.document.write("</html>");
myWin.document.close();
}