动画效果打开新窗口
2012-03-07 22:10
183 查看
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="_3_7.WebForm2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript">
window.moveTo(0, 0); //距频幕左上的距离
window.resizeTo(400, 400); //运行时指定频幕的位置
function add() {
window.resizeBy(60, 20); //向右下增大
}
setInterval(add, 200);
alert(window.screen.width);
alert(window.screen.height);
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript">
window.moveTo(0, 0); //距频幕左上的距离
window.resizeTo(400, 400); //运行时指定频幕的位置
function add() {
window.resizeBy(60, 20); //向右下增大
}
setInterval(add, 200);
alert(window.screen.width);
alert(window.screen.height);
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
相关文章推荐
- 效果不错的窗口打开与关闭的动画效…
- jquery实现初次打开有动画效果的网页TAB切换代码
- Winform窗口渐进打开关闭效果实现
- 动画效果打开层 关闭层
- JS实现点击登录弹出窗口同时背景色渐变动画效果
- 为打开新Activity动作添加动画效果
- Ativity打开动画 切图效果
- JS实现网页右侧带动画效果的伸缩窗口代码
- JavaScript特效实例015-打开窗口特殊效果
- jQuery获取元素位置以及高度与宽度 动态调整打开新窗口效果
- 优酷的多页画在同一窗口打开效果。
- 窗口进入退出的 简单滑动动画效果
- JS实现点击登录弹出窗口同时背景色渐变动画效果
- MFC窗口特效之动画效果(一)
- 把extjs4.2 desktop 窗口最大化动画效果移植到extjs4.1 中
- Android开发,仿苹果的弹出窗口界面、以及窗口动画效果、窗口圆角实现。
- 用AnimateWindow函数实现窗口动画效果
- Qt实现窗口关闭动画效果
- 为打开新Activity动作添加动画效果