7 个解决方案
#1
iframe
#2
iframe src="1.aspx"
Server.Exectue也可以。
Server.Exectue也可以。
#3
<form id="Form1" method="post" runat="server">
<p id="JsAndHtml" runat="server"></p>
<FIELDSET>
<TABLE style="BORDER-TOP: buttonshadow 1px outset; FONT-SIZE: 13px" height="19" cellSpacing="1"
cellPadding="1" width="100%" bgcolor="buttonface">
<TBODY>
<TR style="HEIGHT: 23px">
<TD vAlign="middle" width="10"><A href="javascript:history.go(-1)"><IMG src="Image/main/back.png" border="0"></A></TD>
<TD width="30"><A href="javascript:history.go(-1)">后退</A></TD>
<TD width="10"></TD>
<TD vAlign="middle" width="10"><A href="javascript:history.go(1)"><IMG src="Image/main/forward.png" border="0"></A></TD>
<TD width="30"><A href="javascript:history.go(1)">前进</A></TD>
</TR>
</TBODY>
</TABLE>
</FIELDSET>
<IFRAME id="mainFrame" name="mainFrame" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 100%; BORDER-BOTTOM: 0px; HEIGHT: 96%"
src="test.aspx"></IFRAME>
</form>
<p id="JsAndHtml" runat="server"></p>
<FIELDSET>
<TABLE style="BORDER-TOP: buttonshadow 1px outset; FONT-SIZE: 13px" height="19" cellSpacing="1"
cellPadding="1" width="100%" bgcolor="buttonface">
<TBODY>
<TR style="HEIGHT: 23px">
<TD vAlign="middle" width="10"><A href="javascript:history.go(-1)"><IMG src="Image/main/back.png" border="0"></A></TD>
<TD width="30"><A href="javascript:history.go(-1)">后退</A></TD>
<TD width="10"></TD>
<TD vAlign="middle" width="10"><A href="javascript:history.go(1)"><IMG src="Image/main/forward.png" border="0"></A></TD>
<TD width="30"><A href="javascript:history.go(1)">前进</A></TD>
</TR>
</TBODY>
</TABLE>
</FIELDSET>
<IFRAME id="mainFrame" name="mainFrame" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 100%; BORDER-BOTTOM: 0px; HEIGHT: 96%"
src="test.aspx"></IFRAME>
</form>
#4
<!--下面的代码将index_top.aspx嵌入主页-->
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
<OBJECT id="Object1" type="text/x-scriptlet" width="100%" height="166" data="index_top.aspx" VIEWASTEXT>
</OBJECT>
</TABLE>
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
<OBJECT id="Object1" type="text/x-scriptlet" width="100%" height="166" data="index_top.aspx" VIEWASTEXT>
</OBJECT>
</TABLE>
#5
俺也记住了
#6
可是我那个要嵌入的只是个主页上很小的板块呢?用不着IFRAME吧,一个只有主页1/10的板块也可以打框架吗?
#7
我想通了,干脆直接打个用户控件,然后打模板代替算了
#1
iframe
#2
iframe src="1.aspx"
Server.Exectue也可以。
Server.Exectue也可以。
#3
<form id="Form1" method="post" runat="server">
<p id="JsAndHtml" runat="server"></p>
<FIELDSET>
<TABLE style="BORDER-TOP: buttonshadow 1px outset; FONT-SIZE: 13px" height="19" cellSpacing="1"
cellPadding="1" width="100%" bgcolor="buttonface">
<TBODY>
<TR style="HEIGHT: 23px">
<TD vAlign="middle" width="10"><A href="javascript:history.go(-1)"><IMG src="Image/main/back.png" border="0"></A></TD>
<TD width="30"><A href="javascript:history.go(-1)">后退</A></TD>
<TD width="10"></TD>
<TD vAlign="middle" width="10"><A href="javascript:history.go(1)"><IMG src="Image/main/forward.png" border="0"></A></TD>
<TD width="30"><A href="javascript:history.go(1)">前进</A></TD>
</TR>
</TBODY>
</TABLE>
</FIELDSET>
<IFRAME id="mainFrame" name="mainFrame" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 100%; BORDER-BOTTOM: 0px; HEIGHT: 96%"
src="test.aspx"></IFRAME>
</form>
<p id="JsAndHtml" runat="server"></p>
<FIELDSET>
<TABLE style="BORDER-TOP: buttonshadow 1px outset; FONT-SIZE: 13px" height="19" cellSpacing="1"
cellPadding="1" width="100%" bgcolor="buttonface">
<TBODY>
<TR style="HEIGHT: 23px">
<TD vAlign="middle" width="10"><A href="javascript:history.go(-1)"><IMG src="Image/main/back.png" border="0"></A></TD>
<TD width="30"><A href="javascript:history.go(-1)">后退</A></TD>
<TD width="10"></TD>
<TD vAlign="middle" width="10"><A href="javascript:history.go(1)"><IMG src="Image/main/forward.png" border="0"></A></TD>
<TD width="30"><A href="javascript:history.go(1)">前进</A></TD>
</TR>
</TBODY>
</TABLE>
</FIELDSET>
<IFRAME id="mainFrame" name="mainFrame" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 100%; BORDER-BOTTOM: 0px; HEIGHT: 96%"
src="test.aspx"></IFRAME>
</form>
#4
<!--下面的代码将index_top.aspx嵌入主页-->
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
<OBJECT id="Object1" type="text/x-scriptlet" width="100%" height="166" data="index_top.aspx" VIEWASTEXT>
</OBJECT>
</TABLE>
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
<OBJECT id="Object1" type="text/x-scriptlet" width="100%" height="166" data="index_top.aspx" VIEWASTEXT>
</OBJECT>
</TABLE>
#5
俺也记住了
#6
可是我那个要嵌入的只是个主页上很小的板块呢?用不着IFRAME吧,一个只有主页1/10的板块也可以打框架吗?
#7
我想通了,干脆直接打个用户控件,然后打模板代替算了