急!急!急!我想在一个iframeOnLoad时,把另一个iFrame连到某一个asp页,不知该怎么写?

bibibi 2000-08-22 11:21:00
<iframe ID="adframe2" FrameBorder="0" Name="contents" Src="item.asp" style="position:absolute; >
<iframe ID="adframe3" FrameBorder="0" Name="main" Src="main.asp" style="position:absolute; >

在item.asp用
<body onload='self.adframe3.main.location.href="main.asp"' topmargin="2" leftmargin="8">把adframe3连到main.asp报错:找不到对象


...全文
76 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
huntout 2000-08-22
  • 打赏
  • 举报
回复
<body onload='parent.main.location.href="main.asp"' topmargin="2" leftmargin="8">

28,390

社区成员

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

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