第一页面:
function getwind () {
newwin = window.open('news.aspx', '奇?迹¡ê发¤¡é生¦¨²', 'left=0,top=0,width=500,height=300');
}
第二页面:
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript">
var id;
var i =0;
window.moveTo(0, 0);
functionmove() {
i = i + 10;
if(300 + i >= window.screen.height ) {
clearInterval(id);
window.location('http://www.baidu.com/');
}
else{
window.resizeBy(10, 10);
}
}
id= setInterval(move, 200);
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>