旋转移动放大窗口

xyfc

<html>
<head>
<title>旋移放窗</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" background="../chz.jpg">
<div id="Layer1" style="position: absolute; left: 337; top: 146; width: 112; height: 62; z-index: 1">
<p align="center">
<img border="0" src="../fg.gif" width="110" height="53">
</div>
<script> 
window.scrollBy(0, 100) 
window.resizeTo(0,0) 
window.moveTo(0,0) 
document.bgColor=0x000000 
document.fgColor=0x000000 
//setInterval("move()",30); 
setTimeout("move()", 1); 
var mxm=50 
var mym=25 
var mx=0 
var my=0 
var sv=50 
var status=1 
var szx=0 
var szy=0 
var c=255 
var n=0 
var sm=30 
var cycle=2 
var done=2 
function move() 

if (status == 1) 

mxm=mxm/1.05 
mym=mym/1.05 
mx=mx+mxm 
my=my-mym 
mxm=mxm+(400-mx)/100 
mym=mym-(300-my)/100 
window.moveTo(mx,my) 
rmxm=Math.round(mxm/10) 
rmym=Math.round(mym/10) 
if (rmxm == 0) 

if (rmym == 0) 

status=2 



if (status == 2) 

sv=sv/1.1 
scrratio=1+1/3 
mx=mx-sv*scrratio/2 
my=my-sv/2 
szx=szx+sv*scrratio 
szy=szy+sv 
window.moveTo(mx,my) 
window.resizeTo(szx,szy) 
if (sv < 0.1) 

status=3 


if (status == 3) 

document.fgColor=0xffffFF 
c=c-16 
document.bgColor=0xffffFF 
if (c<0) 
{status=8} 

if (status == 4) 

c=c+16 
document.bgColor=c*65536 
document.fgColor=(255-c)*65536 
if (c > 239) 
{status=5} 

if (status == 5) 

c=c-16 
document.bgColor=c*65536 
document.fgColor=(255-c)*65536 
if (c < 0) 

status=6 
cycle=cycle-1 
if (cycle > 0) 

if (done == 1) 
{status=7} 
else 
{status=4} 



if (status == 6) 

document.title = "请关闭本窗口" 
alert("请关闭本窗口") 
cycle=2 
status=4 
done=1 

if (status == 7) 

c=c+4 
document.bgColor=c*65536 
document.fgColor=(255-c)*65536 
if (c > 128) 
{status=8} 

if (status == 8) 

window.moveTo(0,0) 
sx=screen.availWidth 
sy=screen.availHeight 
window.resizeTo(sx,sy) 
status=9 

var timer=setTimeout("move()",0.3) 

</script>
<p align="center">
<b><font size="5" color="#0000FF">旋转移动</font></b>
</p>
<p align="center">
<b><font size="5" color="#0000FF">放大窗口</font></b>
</p>
<P align="center"><SPAN class="glowit">
<b>
<font size="5" color="#008000" face="楷体_GB2312">ddxss
</font></b>
<b>
<font size="5" color="#008000" face="楷体_GB2312">2002.11.11.
</font></b>
</SPAN></P> 
</body>
</html>