点击BUTTON后当前页面的窗口大小改变,如何实现? <button onclick="window.resizeTo(500,500);location='http://www.iecn.net'">click</button>这样? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 学习,我想当然的认为有read-only属性。up 1.html<html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head><body><a href="#" onclick="javascript: window.open('2.html')">open a new window</a> </body></html>2.html<html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><script language="JavaScript">function aaa(){ window.opener.location.href= "http://www.163.com" window.opener.window.resizeTo(300, 400)}</script></head><body><input name="button" type="button" id="button" onClick="aaa()" value="Button"></body></html>=================一代过去,一代又来,地却永远长存。日头出来,日头落下,急归所出之地。风往南刮,又往北转,不住的旋落,而且返回转行原道,江河都往海里转,海却不满,江河从何处流,仍归何处。 请问如下代码有什么用? 对fireEvent大失所望! 用户鼠标拖动时,怎样让页面不出现文字或图片被选中的蓝色背景? 不懂js,关于网页窗口控制的问题! 两个问题,请进: 求验证ip地址的正则表达式 ■■各位来看看这个html语法(标记中引用变量)应当怎么写,高分相送!■■ 这个程序如何解释?(在线等) 显示效果的问题!!! 请问如何用javascript禁止netscape6记忆用户名和密码 如何做一种像CSND论坛登陆按下确定后,弹出“正在登陆..."这种效果 为什么老是说我的某某变量没有定义
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><body>
<a href="#" onclick="javascript: window.open('2.html')">open a new window</a>
</body>
</html>
2.html<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript">
function aaa()
{
window.opener.location.href= "http://www.163.com"
window.opener.window.resizeTo(300, 400)
}</script>
</head><body>
<input name="button" type="button" id="button" onClick="aaa()" value="Button"></body>
</html>
=================一代过去,一代又来,地却永远长存。日头出来,日头落下,急归所出之地。
风往南刮,又往北转,不住的旋落,而且返回转行原道,江河都往海里转,海
却不满,江河从何处流,仍归何处。