<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
var flag = 1;
function escape() {
if(flag == 1) {
escape_btn.style.top = "75px";
escape_btn.style.left = "400px";
}
if(flag == 2) {
escape_btn.style.top = "115px";
escape_btn.style.left = "50px";
}
if(flag == 3) {
escape_btn.style.top = "300px";
escape_btn.style.left = "150px";
}
flag = flag + 1;
if(flag == 4) {
flag = 1;
}
}
//-->
</SCRIPT>
</HEAD>
<BODY>
<DIV ID="escape_btn" STYLE="position:absolute; left:150px; top:300px; width:50px; height:50px;">
<form>
<input type=button value="飛びます! 飛びます!" onMouseover="escape()">
</form>
</DIV>
</BODY>
</HTML>
|