当前位置: 代码迷 >> ASP.NET >> parent.mainFrame.location 的有关问题
  详细解决方案

parent.mainFrame.location 的有关问题

热度:4762   发布时间:2013-02-25 00:00:00.0
parent.mainFrame.location 的问题
点击“图片”时,应该到Events页面,可是提示错误,请问那里有问题.
代码如下   :
<tr>
<td> <table   width= "100 "   border= "0 "   align= "center "   cellpadding= "0 "   cellspacing= "0 ">       <tr> <td   width= "36 "> <img   src= "../images/lu01.gif "   width= "20 "   height= "20 "> </td> <td   width= "114 "   height= "25 "> <a   href= "# "   class= "a2 "   onclick= "javascript:expands( 't6 ', 't2 ') "> 我的收藏 </a> </td> </tr> </table> </td> </tr> <tr   id= "t6 "   style= "DISPLAY:none "> <td   onmouseover= "style.backgroundColor= '#ffffe0 ' "   onmouseout= "style.backgroundColor= '#f0f8ff ' "> <table   width= "150 "   border= "0 "   align= "center "   cellpadding= "0 "   cellspacing= "0 "> <tr> <td   width= "36 "> &nbsp; </td> <td   width= "114 "   height= "25 "> <a   href= "# "   onclick= "parent.mainFrame.location.href= 'Events.aspx ' "   class= "a2 "> 图片 </a> </td> </tr> </table>

------解决方案--------------------------------------------------------
学习中..
  相关解决方案