我做一个后台导航菜单
进入admin/index.aspx,可是index.aspx运行后,看不到left.aspx页面的显示.是空白,请问是怎么问题
导航菜单应该怎么做呢?
后加载左边的left.aspx,代码如下
<IFRAME id=carnoc
style="Z-INDEX: 2; VISIBILITY: inherit; WIDTH: 185px; HEIGHT: 100%"
name=carnoc src="left.aspx" frameBorder=0
scrolling=yes target="main"></IFRAME>
进入admin/index.aspx,可是index.aspx运行后,看不到left.aspx页面的显示.是空白,请问是怎么问题
导航菜单应该怎么做呢?
后加载左边的left.aspx,代码如下
<IFRAME id=carnoc
style="Z-INDEX: 2; VISIBILITY: inherit; WIDTH: 185px; HEIGHT: 100%"
name=carnoc src="left.aspx" frameBorder=0
scrolling=yes target="main"></IFRAME>
<SCRIPT>
window.onerror = new Function("return(false);")
</SCRIPT><STYLE>
<!--
.ptr{color:red;cursor:hand;font-family:webdings}
-->
</STYLE><SCRIPT>
function showandshade()
{
if(span1.innerText==3)
{
span1.innerText=4
document.all("td1").style.display="none"
}
else
{
span1.innerText=3
document.all("td1").style.display=""
}
}
</SCRIPT><META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY leftMargin=0 topMargin=0 scroll=no><!--StartFragment-->
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR height="100%">
<TD id=td1 style="DISPLAY: none" width=50 height="100%"><IFRAME src="#" frameBorder=0 width=70 scrolling=no></IFRAME></TD>
<TD style="FONT-SIZE: 7pt; WIDTH: 5pt; CURSOR: default" onclick=showandshade() bgColor=#a4b6d7><SPAN class=ptr id=span1>4</SPAN><FONT color=green size=1><BR>点<BR>击<BR>展<BR>开</FONT> </TD>
<TD><IFRAME name=main src="#" frameBorder=0 width="100%" scrolling=yes height="100%"></frame></td>
</tr>
</table>
</body>
<SCRIPT>
if(window.screen.width<'1024'){showandshade()}
</SCRIPT> </IFRAME></TD></TR></TBODY></TABLE><!--EndFragment--></BODY>
style="Z-INDEX: 2; VISIBILITY: inherit; WIDTH: 185px; HEIGHT: 100%"
name=carnoc src="left.aspx" frameBorder=0
scrolling=yes target="main"></IFRAME>
楼主,我试验了一下,发现运行没有问题,请问楼主,你在后台
加什么验证了没有?还是不允许匿名登录什么的,我估计是窗体验证的问题,
我的猜测而已
两种很快的解决办法
一用原来的include这是asp的老办法,.net还是可以用的
二就是母版页面了,左边的作成模板,这样以后要改动的话所有的子页面也不用重写了,还有利于搜索引擎的收录。