如何在标题栏显示框架内页面的标题


如题。
想在当前页面的标题栏显示的标题为当前页面框架内页面的标题,请问该如何去做呢?

如页面A为:

<html><head><title></title>
</head><body>
<IFRAME width=100% height=100% frameborder=0 SCROLLING=no SRC='页面B'></IFRAME>
</body></html>

要想在页面A的<title>与</title>之间显示 页面B 的title标题,要如何去做呢?
复制代码 代码如下:

top.document.title = document.title;

« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3