+ -
当前位置:首页 → 问答吧 → 点击链接时弹出的窗口,帮忙看一下哪里出错了?谢谢!

点击链接时弹出的窗口,帮忙看一下哪里出错了?谢谢!

时间:2010-06-02

来源:互联网


<!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=utf-8" /> <title>无标题文档</title> </head> <body> <a href="#" onclick="javascript:window.open ('www.baidu.com','','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=274,height=373,top=100,left=100');">link</a> </body> </html>
 提示:您可以先修改部分代码再运行
[ 本帖最后由 4321285 于 2010-6-2 11:02 编辑 ]

作者: wcxcool   发布时间: 2010-06-02

toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0

这些0应该改成yes或者no

作者: moierby   发布时间: 2010-06-02

把问题描述清楚一点

作者: 4321285   发布时间: 2010-06-02

点击链接时弹出固定大小的窗口

作者: wcxcool   发布时间: 2010-06-02

楼主你这个例子运行不出来是因为百度的那个地址没有加 http://

作者: moierby   发布时间: 2010-06-02

OK了,谢了!

作者: wcxcool   发布时间: 2010-06-02