<html>
<head>
<STYLE TYPE="text/css">
DIV{position:absolute;color:green;font-size:50pt}
</STYLE>
<TITLE>Java-Script</TITLE>
</head>
<body>
<center>
<script language="JavaScript">
<!--
var strings = "影を付けたよ!";
for(i=0;i<=7;i++){
kage="<DIV STYLE=left:"+(30+i)+"px;top:"
+(20+i)+"px;";
if(i==7)kage +="color:yellow";
kage +=">"+strings+"</DIV>";
document.write(kage);
}
// -->
</Script>
</center>
<br><br><br><br><br><br><br><br>
<FORM>
<INPUT TYPE=button VALUE="ウインドウを閉じる" onClick=window.close()>
</FORM>
<br><br>
</body>
</html>
|