设计了一个框架,可是放在里面的页面太大,框架能否根据插入的页面自动大小?
解决方案 »
- 为什么不能给dataset中的表赋值,有解决办法吗?
- 不能为单引号、双引号、反斜杠、冒号( '、"、\、: )
- 跨服务器查询的优化大讨论?
- 在DataList中的EditItemTemplate模板中怎么不能为TextBox
- asp.net中怎么接收POP3邮件(有现成的代码看看吗)
- 如何在客户端用 JS 得到 页面得验证控件是否验证通过
- 请问这个打开新窗口正确的代码该如何写?
- IIS不能匿名访问
- 100分询问:我想用ASP.NET但是不想用服务器端控件功能,有什么需要注意的?
- 请教一个小问题???11
- 大家还记得大海网络么,就是上次在本版面上做右上LOGO广告的提供虚拟主机的?
- 高手们请进!!
{
if (self.location!=top.location)
{
parent.document.all("FM_FlowDetail").height = document.body.scrollHeight ;
}
}FM_FlowDetail是那个页面在父框架中的名字
我试了没有成功一下是我的代码,请帮忙看看那里不行
main.htm
/////////////////////////////
<html>
<head>
<TITLE></TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</head>
<frameset rows="109,*" bordercolor="#ffffff" name="topset" style="TABLE-LAYOUT: auto" border="0"
frameSpacing="0" frameBorder="0">
<frame ame="topFrame" scrolling="no" noresize src="top.aspx">
<frame id="WBS" src="query/index.aspx" name="mainFrame" scrolling="no" frameBorder="0"
scrolling="no" width="100%">
</frameset>
<noframes>
</noframes>
</html>
//////////////
bottom.js代码
-----------------------------
parent.document.all("WBS").style.height=document.body.scrollHeight;
parent.document.all("WBS").style.width=document.body.scrollWidth;
-----------------query/index.aspx引用代码
<script language="JavaScript" src="../bottom.js" /></SCRIPT>麻烦了