When dealing with a frame environment, keeping track of the frames and the documents in the frames is a tedious task. These frame management functions are designed to be an integrated set of tools for the developer to manage frames, and documents in the frames, in a Web browser environment. These functions allow the user to easily manipulate the frames, and documents in the frames, based on the frame name.

Use

The frame management functions were divided into two files:

  1. JS_Vision_FrameMgmt1.js contain those functions that are used by the documents that are loaded into the frames to detect whether they are in a frame, which frame they are in, and to bust out of a frame.
  2. JS_Vision_FrameMgmt2.js contain those functions that are used by the frame definition Web page to manipulate the documents that are loaded in the different frames.
For those Web pages that contain the frame definition, the following are the minimum JavaScript Vision files that need to be included with the Web page:
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="JS_Vision_Globals.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="JS_Vision_String.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="JS_Vision_FrameMgmt1.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="JS_Vision_FrameMgmt2.js"></SCRIPT>

For those Web pages that will be loaded in the frames, the following are the minimum JavaScript Vision files that need to be included with the Web page:

<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="JS_Vision_Globals.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="JS_Vision_String.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="JS_Vision_Utility.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="JS_Vision_FrameMgmt1.js"></SCRIPT>

Remarks

For more information on the SRC attribute of the SCRIPT tag, see JavaScript Vision Frequently Asked Questions.

More Information on Frames
Fun with Frames
Frames: Evil Incarnate or Not?
irt.org - JavaScript frame FAQ