<button onclick="window.resizeTo(500,500);location='http://www.iecn.net'">click</button>这样?
解决方案 »
- Jquery如果向父页面传回处理后的数据?
- 谁能提供一份jquery validate remote和J2EE结合的实例
- 页面上的图片,当鼠标移到上面时,会出现打印机的小图标,我不想要这个打印机小图标,怎么办?
- 请教关于 arguments 的问题?
- 如何实现子窗口刷新父窗口?(急)
- 【高手解迷】alpha 滤镜递归循环引发光标闪烁异常
- 请教:radio在javascript里设置成readonly怎么不行啊?
- sohu上的图片,右下角的文字是怎么+上去的
- 在HTML页面上如何判断用户同时按下了字母a和b,与分别按下a和b的区别?
- 请高手帮一下忙!谢谢!
- 如何做一种像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>
=================一代过去,一代又来,地却永远长存。日头出来,日头落下,急归所出之地。
风往南刮,又往北转,不住的旋落,而且返回转行原道,江河都往海里转,海
却不满,江河从何处流,仍归何处。