急:请问下面的代码错在哪了?[在线等待]

webnetmax 2002-11-01 06:26:30
急:请问下面的代码错在哪了?[在线等待]
<html>
<head>
<title>无标题文档</title>
<script>window.open('aaa.htm','newwindow','width=100,height=100,scrollbars=no,resizable=no'");
</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">


</head>

<body bgcolor="#FFFFFF" text="#000000">

</body>
</html>
...全文
28 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
jery_lee 2002-11-10
  • 打赏
  • 举报
回复
<html>
<head>
<title>无标题文档</title>
<script>
window.open('aaa.htm','newwindow','width=100,height=100,scrollbars=no,resizable=no');
</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">


</head>

<body bgcolor="#FFFFFF" text="#000000">

</body>
</html>
aceblues 2002-11-10
  • 打赏
  • 举报
回复
对我同意
resizable=no'")多了一个"
cityroom 2002-11-01
  • 打赏
  • 举报
回复
编程新生真细心:)
softrookie 2002-11-01
  • 打赏
  • 举报
回复
resizable=no'")多了一个"
adamcn 2002-11-01
  • 打赏
  • 举报
回复
如果你在一个frame里用这个就错了,(ie6不会报错)
改成parent.open
anziqi 2002-11-01
  • 打赏
  • 举报
回复
<input type="button" value="打开新窗口" onClick="JavaScript:window.open('aaa.htm','_blank','width=300,height=300');">

我这里好使你看这个行吗?
Reker熊 2002-11-01
  • 打赏
  • 举报
回复
没错吧,报什么错误

87,955

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧