| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 577 人关注过本帖
标题:window对象中的open()方法
只看楼主 加入收藏
danwell7
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2011-12-10
收藏
 问题点数:0 回复次数:0 
window对象中的open()方法
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.
<html xmlns="http://www.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script language="javascript">
function a()
{ var newwin=window.open("","good","height=200, width=500");
   newwin.location.href="default.html";
}
</script>
</head>
<body onload="a()">
</body>
</html>
这儿的新窗口对象newwin中的name属性怎么使用??当我要改变窗口中的height属性时,怎样用good访问?
搜索更多相关主题的帖子: html javascript function content window 
2012-02-14 16:11
快速回复:window对象中的open()方法
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.010731 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved