|
home / documentation / reference / framesmainframename
FramesMainFrameName
- Description:
- Tells HierMenus the name of the content frame in which the menus
should be displayed in standard cross-frame implementations.
- Value:
- String, or JavaScript expression that returns a string.
- Applies To:
- Globally.
- Browser Compatibility:
- FramesMainFrameName is supported in all browsers.
- Comments:
- When setting up your frameset for use with HierMenus in a standard
cross-frames implementation, you must include a name attribute in the
frame tag that will contain the pages over which the actual menus will be displayed.
It is this name that you must also include in FramesMainFrameName.
FramesMainFrameName is case-sensitive; it must match the name
attribute in the content frame's frame tag exactly.
FramesMainFrameName is only meaningful in standard cross-frames implementations.
In alternate cross-frames implementations, FramesMainFrameName is ignored. See
the HierMenus version 6 Setup Instructions for further
details on the two types of cross-frames implementations.
- Examples:
// Ok:
FramesMainFrameName:"contentFrame",
FramesMainFrameName:"mainFrame",
// Incorrect:
FramesMainFrameName:main,
FramesMainFrameName:"top",
// "top," "parent," "window", and "self" are strongly
// discouraged, because these terms have special meaning
// in JavaScript windows
- Default:
- "main"
- See Also:
-
FrameseNavFramePos,
HM_FramesEnabled
|