The Browser Object Model window--|--document-----| | |--anchors | |--forms | |--images | |--links | |--location | |--frames |--location |--history |--navigator |--screen<html><head><title>Frameset Example</title>一、window对象</head><frameset rows=”100,*”><frame src=”frame.htm” name=”topFrame” /><frameset cols=”50%,50%”><frame src=”anotherframe.htm” name=”leftFrame” /><frame src=”yetanotherframe.htm” name=”rightFrame” /></frameset></frameset></html>使用window对象访问window.frames[0]window.frames["topFrame"]top.frames[0]top.frames["topFrame"]或直接使用frames[0]frames["topFrame"]