<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>印象贵州</title>
</head>
<script>
window.onload=function(){
begin = setInterval("tt()",1000); //1000毫秒=1秒
}
function tt(){
if (window.frm2.document.title!=""){
document.title=window.frm2.document.title;
clearInterval(begin);
}
}
</script>
<frameset rows="0,*" frameborder="no" border="0" framespacing="0" id=fset name=fset>
<frame src="top.htm">
<frame src="a.htm" name="frm2" id="frm2">
</frameset>
<noframes>
<body>
</body>
</noframes>
</html>
window.frm2.document.title 这句话,系统提示[拒绝访问],
我能这样读出title内容吗?小弟先谢谢各位大侠了。
--
修改:leehuijia FROM 222.130.191.*
FROM 222.130.191.*