如何控制链接的和重定向的窗口的尺寸?多谢指教!!!

timetrace 2001-07-12 07:16:03
我的程序中用到href和response.redirect指向同一个asp,请问如何在href链接和在response.redirect重定向时,指定该asp窗口的大小?如果需要用脚本实现的话,应该如何写代码?多谢指教!
...全文
50 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
孟子E章 2001-07-12
  • 打赏
  • 举报
回复
<a href="#" onclick="window.open('xxx.asp','winName','width=300,height=300')">链接</a>

去掉response..redirect
改用:
response.write "<script>"
response.write "window.open('xxx.asp','winName','width=400,height=200')"
response.write "<script>"
孟子E章 2001-07-12
  • 打赏
  • 举报
回复
<a href="#" onclick="window.open('xxx.asp','','width=300,height=300')">链接</a>

去掉response..redirect
改用:
response.write "<script>"
response.write "window.open('xxx.asp','','width=400,height=200')"
response.write "<script>"

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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