Loads the passed Web page in the named frame.
JSV_loadFrame(frameName, frameSetPage [, replace])
n/a
The JSV_loadFrame
function uses the following arguments.
Argument | Description |
frameName |
The name of the frame, i.e., the NAME attribute of the
FRAME tag, in which the Web page will be loaded.
|
frameSetPage |
The URL of the Web page that contains the FRAMESET definition
(e.g., 'index.htm' or 'http://www.domain.com/index.htm').
|
replace | Optional. A Boolean value, either true (set this to true only if using Navigator 3+ or Internet Explorer 4+) or false. If true, then the current history entry is replaced with the new page being loaded (i.e., the last location in the browser's history object is overwritten by the new location). Default value is false. |
n/a
JSV_getFrameReference, JSV_isWhitespace
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 top left frame for the use of this function) when the button is clicked
Updated: |
Copyright © 1999-2000 Roaring Fork Software. All rights reserved. |