http://msdn2.microsoft.com/en-us/library/ms532998.aspx
解决方案 »
- Microsoft JScript 运行时错误: 对象不支持此属性或方法。
- 这种效果是用JavaScript做出来的吗?
- 大家用js+php的时候用什么ide
- 谁可以共享一份多重文档界面(MDI)的代码
- 如何获取一个论坛的数据接口?
- [求助]如何用javascript實現模擬組合健?麻煩給出相關實例.
- 为什么textarea里的数据提交到另一个页面后,接收不到里面的回车换行符呀,如何解决???
- 如何製作一個彈出全屏窗口,邊任務欄都看不到的,按了提交後就會返回主頁面,謝謝.
- 关于radiobutton的问题.
- 谁可以说一说身份证各个数位代表的意义?谁有验证身份证号码合法的程序?
- 请问dropdownlist是不是只可以在asp中使用啊?
- 高分求:判断数字尾数是否为3,4的正则表达式
<SCRIPT LANGUAGE="JavaScript">
<!--
parent.frames["rightFrame"].document.body.innerHTML = '<table><tr><td>sdfsafaf</td></tr></table>';
//-->
</SCRIPT>
<head id="Head1" runat="server">
<title>aaa</title>
</head><body >
<table style="width: 528px; height: 510px">
<tr>
<td style="width: auto; height: auto" valign="top">
<iframe id="LeftFrame" name="LeftFrame" src="Default.aspx" style="height: 500px;width:277px; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none;" > </iframe>
</td>
<td style="width: auto; height:auto" valign="top">
<iframe id="RightFrame" name="RightFrame" style="height: 500px; width:777px;border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none;" src="HTMLPage.htm">
</iframe>
</td>
</tr>
</table></body>
</html>
这是我的那个页面
像window.frames['frameName'].show()这段代码的话是写在什么地方?
win.show()该语句在调用当前页所包含的 iframe 中的内容,且 iframe 中的内容读取完毕时有效
<iframe name=a2></iframe><script>
var a1 = false;
var a2 = false;
var w1 = window.open('xxx.html','a1','');
var w2 = window.open('yyy.html','a2','');
function showA2(){
if (a2){
w2.show();
}else{
alert('loading...');
}
}
</script>xxx.html
<a href=javascript:parent.showA2()>click here</a>
<script>
parent.a1 = true;
</script>yyy.html
<script>
parent.a2 = true;
function show(){
alert('great!');
}
</script>