0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ミッキーマウスで目のトレーニング

Posted at

<!DOCTYPE HTML>
<html>
	<head>
		<title>Eye Training Micky Mouse ^^</title>
		<script id="clientEventHandlersJS" language="javascript">
<!--

function Push1(){

xx = document.myFORM.second.value;
yy = parseInt(xx);
myVal1 = Math.floor(Math.random()*900);
myVal2 = Math.floor(Math.random()*300);
document.micky.hspace = myVal1;
document.micky.vspace = myVal2;
timerID = window.setTimeout("Push1()", 1000*yy);

}




//-->
		</script>
	</head>
	<body bgcolor = "gray">

<p><a href = "http://www.skyscanner.net/news/articles/2009/11/003456-celebrate-asterixs-birthday-with-10-comics-and-cartoons-from-around-the-world.html" target = "_blank">Link Source:</a></p>
		<FORM style="Z-INDEX: 0" name="myFORM">
			<INPUT id="Button1" onclick="Push1()" value="start" type="button" name="start"> <INPUT id="Button2" onclick="clearTimeout(timerID)" value="stop" type="button" name="stop">
			<INPUT style="Z-INDEX: 0" id="Text1" size="10" name="second"> <FONT face="MS UI Gothic">
				<DIV style="WIDTH: 70px; DISPLAY: inline; HEIGHT: 15px" ms_positioning="FlowLayout">second</DIV>
				<INPUT id="Button3" value = "skyblue" onclick="document.bgColor='skyblue'" type="button">
				<INPUT id="Button4" value = "yellowgreen" onclick="document.bgColor='yellowgreen'" type="button">
				<INPUT id="Button5" value = "gray" onclick="document.bgColor='gray'" type="button">
                                <INPUT id="Button6" value = "black" onclick="document.bgColor='black'" type="button">
			<P><IMG id="IMG1" name="micky" alt="" src="http://www.onlyonehappy.com/Mickey.png">
			</P>

		</FORM>
	</body>
</html>

ミッキーマウスが 動きます。
それで、目のトレーニング ^^

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?