frameset element | frameSet object (Internet Explorer)

Switch View :
ScriptFree
frameset element | frameSet object

[This documentation is preliminary and is subject to change.]

Specifies a frameset, which is used to organize multiple frames and nested framesets.

Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5HTML 4.01 Specification, Section 16.2.1

Standards information

HTML information

Closing Tagrequired
CSS Displayinline

Remarks

The FRAMESET element is a container for the FRAME element. An HTML document can contain either the FRAMESET element or the BODY element, but not both.

If a user opens a folder inside a frame and then clicks something in the folder, the file or folder that the user clicks takes over the entire window. For example, suppose that a page contains two frames, one frame pointing to http://www.microsoft.com and the second frame pointing to a network drive. If the user clicks a file or folder in the second frame, that frame takes control of the entire window, including the first frame. For file types that the application cannot host, such as .txt files, a separate window in the appropriate host application is opened.

A folder is a part of the file system hierarchy, but it does not necessarily represent anything in the file system. An example is Network Neighborhood.

Security Warning:   To protect user privacy and safeguard your applications, Windows Internet Explorer restricts some interactions between frames that host Web pages from different domains. For more information about using the Dynamic HTML (DHTML) object model with the frame and iframe objects, see About Cross-Frame Scripting and Security and Security Considerations: Dynamic HTML.

See also

frame

 

 

Build date: 3/8/2012

Community Content

sqq8325
If I add "window.open" in the onUnload function of Frameset,the frameset's current frame change
there is a frame "topFrame" in frameset of main.jsp
go in this flow:
main.jsp
①->top.jsp(topFrame,onclick="location.href='<%=request.getContextPath()%>/top2.jsp'">)
②->top2.jsp(topFrame,onclick="parent.location.href='<%=request.getContextPath()%>/result.jsp'">)
->result.jsp

If I click "return" in result.jsp,  I will go to ②;
If I add   "window.open" and "close" in  frameset's onUnload function of main.jsp, I will go to ①(Ie6,7,8);but in ie9,still go to ②
<<<<
win = window.open("",'test','top=5000,left=5000,width=1,height=1,menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no');
win.close();
>>>>

Question:
Why if add   "window.open" and "close",I will go to ①,not ③?
Why in ie9,this change not happened ?