JAVASCRIPT基础学习篇(11)--ECMAScript Basic7(The Browser Object Model)

xiaoxiao2024-03-25  24

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"]

转载请注明原文地址: https://www.6miu.com/read-5014510.html

最新回复(0)