注册 登录
编程论坛 WEB前端(UI)

如何点框架左边的就刷新框架右边页面??

qjw9004 发布于 2011-09-11 20:11, 747 次点击
左边left.asp代码中有
  <td height="22" class="coolbutton" nowrap onClick="main.location.reload();" style="cursor:hand" title="刷新"><img src="images/ref.gif" width="16" height="16" hspace="25" align="absmiddle"><font style="font-size:12px"><span class="style2">刷&nbsp;&nbsp;&nbsp;&nbsp;新</span></font></td>
想点此处时就刷新右边的页面~~~我在网上找的代码,加了但没起作用,切望朋友指点!
谢谢~~~

框架页面main.asp代码
<html>
<head>
<META>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
</head>
<frameset rows="60,*" cols="*" frameborder="no" border="0" framespacing="0">
<frame src="top.asp" name="top" scrolling="No" noresize="noresize" id="top" title="top" />
<frameset rows="*" cols="190,*" framespacing="0" frameborder="no" border="0">
<frame src="left.asp" name="left" scrolling="yes" noresize="noresize" id="left" title="left" />
<frame src="main_0.asp" name="main" id="main" title="main" scrolling="yes"/>
</frameset>
</frameset>
<noframes>
<body>
</body>
</noframes>
</html>
3 回复
#2
qjw90042011-09-13 07:59
没人能指点一下吗?
#3
nicechlk2011-11-03 23:53
点击左边框架里的链接时,不是本来就可以刷新右侧的吗?
#4
xmlz2011-12-27 14:26
<td height="22" class="coolbutton" nowrap><img src="images/ref.gif" width="16" height="16" hspace="25" align="absmiddle"><font style="font-size:12px"><span class="style2"><a target="main" href="main_0.asp">刷新</a></span></td>
1