首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

parent.mainFrame.location 的有关问题

2012-02-26 
parent.mainFrame.location 的问题点击“图片”时,应该到Events页面,可是提示错误,请问那里有问题.代码如下:

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>

[解决办法]
学习中..

热点排行