Window length 属性 返回当前窗口 frame 的个数
<html>
<body>
<iframe src="http://www.microsoft.com"></iframe>
<iframe src="http://www.google.com"></iframe>
<iframe src="http://www.youtube.com"></iframe>
<script>
for (var i=0; i<frames.length; i++)
{
frames[i].location="http://www.runoob.com"
}
</script>
</body>
</html>