╋艺 镇╋╋网站网络|程序语言|Flash╋┣◇网站建设&Web语言 → 关闭网页打开指定大小网页方法


  共有15448人关注过本帖树形打印复制链接

主题:关闭网页打开指定大小网页方法

帅哥哟,离线,有人找我吗?
乐魔舞
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信 天之飞雪
等级:青蜂侠 帖子:1427 积分:11370 威望:0 精华:7 注册:2007/12/25 16:21:28
关闭网页打开指定大小网页方法  发帖心情 Post By:2008/5/7 10:11:59 [只看该作者]

<html>
<script>
  opener=null; //在没有提示的状态下,关闭当前窗口
  window.close();
  window.open ("index.html", "newwindow", "height=800, width=600, toolbar=no, menubar=no, scrollbars=no, resizable=yes, location=no, status=yes,left=0,top=0")
</script>
<body>
</body>
</html>

 

[此贴子已经被作者于2008-5-7 10:14:45编辑过]


  
“艺镇”官方站:www.zyzsky.com QQ群:1221854  回到顶部
帅哥哟,离线,有人找我吗?
乐魔舞
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信 天之飞雪
等级:青蜂侠 帖子:1427 积分:11370 威望:0 精华:7 注册:2007/12/25 16:21:28
  发帖心情 Post By:2008/5/7 10:15:01 [只看该作者]

<html>
<script type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
<script>
  opener=null; //在没有提示的状态下,关闭当前窗口
  window.close();
 
</script>
<body onload="MM_openBrWindow('index.html','','resizable=yes,width=800,height=600')">
</body>
</html>


  
平面设计、网站建设、三维动画、视频制作 联系QQ:114103945  回到顶部
帅哥哟,离线,有人找我吗?
乐魔舞
  3楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信 天之飞雪
等级:青蜂侠 帖子:1427 积分:11370 威望:0 精华:7 注册:2007/12/25 16:21:28
  发帖心情 Post By:2008/5/7 10:15:27 [只看该作者]

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
  opener=null;
  window.close();
</script>
</head>
<body onload="MM_openBrWindow('index.html','','width=800,height=580')">
</body>
</html>


  
“艺镇”官方站:www.zyzsky.com QQ群:1221854  回到顶部