Sets the name of the window containing the outermost frameset.

Syntax

JSV_setFramesetWindowName(expN)

Returns

n/a

Parameters

The JSV_setFramesetWindowName function uses the following arguments.

Argument Description
expN The name that is to be given to the outermost frameset.

Remarks

The FRAMESET element is a frame container for dividing a window into rectangular subspaces called frames. In a Frameset document, the outermost FRAMESET element takes the place of BODY and immediately follows the HEAD.

The FRAMESET element contains one or more FRAMESET or FRAME elements, along with an optional NOFRAMES element.

Dependencies

n/a

Example

The following lines of code

var myWindowHandle = null;
var myWindow = "FrameDemo";
var myAttributes = 'status=1,scrollbars=1,resizable=1,width=580,height=240,left=40,top=40,screenX=40,screenY=40';

function openFramesetWindow() {
    myWindowHandle = JSV_popWindow(myWindowHandle, myWindow, 'index.htm', myAttributes, false);
    if (window.focus) myWindowHandle.focus();
}

produce a windows with four frames (see bottom left frame for the new frameset window name) when the button is clicked