嵌框ifame的title传递问题??? parent.document.title = document.title 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 代码要放在哪一个页面上呢,如果放在index.html上document.title = mainFrame.document.title 还是不会,请问能给完整的代码吗?我要放在index.html上面,要他的title和mainFrame的title同步,谢谢! index.html<title>这里要和mainFrame同步</title><frameset cols="80,*" frameborder="NO" border="0" framespacing="0"> <frame name="leftFrame" scrolling="NO" noresize src="leftFrame.htm"> <frame name="mainFrame" src="mainFrame.html"> </frameset> mainFrame.html<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>新建网页 2</title></head><body></body></html>就是要把mainFrame.html的"新建网页 2"传递到index.html的"这里要和mainFrame同步"谢谢! mainFrame.html <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title> 新建网页 2 </title> </head> <body> <script>parent.document.title=document.title;</script></body> </html> Ext的同步、异步问题 在火狐浏览器上不支持 问个JQ的问题 求高手帮忙用js写一个EAN13条码转换函数,有参考 望大家不吝赐教 高手都进来看看,关于setTimeout的奇怪问题=====================[100分] 怎么让submit按钮在提交后不能再点?? 那种用上下两个箭头代替滚动条,鼠标放上去或者点击的时候实现页面的滚动,是怎么做的? 想要一个HTML在线编辑器的原代码,要没加密的 如何用jquery实现以下的效果 firefox下,如何让 textarea中的内容自动换行? 急!请问JavaScript中ADODB的分页操作怎么做?
如果放在index.html上
document.title = mainFrame.document.title
<title>这里要和mainFrame同步</title>
<frameset cols="80,*" frameborder="NO" border="0" framespacing="0">
<frame name="leftFrame" scrolling="NO" noresize src="leftFrame.htm">
<frame name="mainFrame" src="mainFrame.html">
</frameset>
mainFrame.html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 2</title>
</head>
<body>
</body>
</html>
就是要把mainFrame.html的"新建网页 2"传递到index.html的"这里要和mainFrame同步"
谢谢!
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title> 新建网页 2 </title>
</head>
<body>
<script>
parent.document.title=document.title;</script>
</body>
</html>