Introduction: I think everyone should have seen some websites such as some of the subframes in msdn.microsoft.com After pressing a button on the page, a frame in the page is hidden. In fact, this effect is very realistic. Simple, now let's take a look at how to use JavaScript to access and modify the Frame object. 1. I will talk about Frame's structure and grammar before starting: // The following is the code of frame with the frame page.
Untitled Document Title> // Diagram representing the framing structure of the yellow box for the upper and lower points [ROWS indicates the upper and lower COLS representations], 498 is 498, including top.htm and the red box containing left.htm and main.htm. These two It belongs to the same level object