Frame and frameset functions handle two tasks: getting the names of the frames in a frameset and splitting a frame in two.
An array of strings where each string is the name of a frame in the current frameset. Any unnamed frames are skipped. If none of the frames in the frameset is named, an empty array returns.
For a document that contains four frames (two of which are named), a call to the dom.getFrameNames() function might return an array that contains the following strings:
If a document is a frameset or is inside a frameset, this function saves all the frames and framesets from the Document window. If the specified document is not in a frameset, this function saves the document. This function opens the Save Asdialog box for any documents that have not been previously saved.
The splitDirection argument is a string that must specify one of the following directions: "up", "down", "left", or "right".