Position Cap Command Reference

Go to the boughner.us

Introduction

This command reference lists the commands that can be used to control the position of the CAPTION bar in an overlib popup. See the core module documentation for more information about other ways to customize overLIB.

Remember that commands are always in uppercase (case-sensitive) and can have none or more command values.

To include these support modules just include the following statements in the HEAD section of your document:

<SCRIPT TYPE="text/javascript" SRC="overlib.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" SRC="overlib_positioncap.js">
</SCRIPT>

You only have to make sure that the overlib_positioncap.js module is loaded after the core module.

Download the positioncap module as a zip file.

Caption Positioning Commands

POSTIONCAP top or bottom or right middle
Indicates where the caption in a popup should be located with respect to the main body text. This is a string value whose default setting is 'top' (or 't'). Other permissible values are 'bottom' ('b'), 'lefttop' ('lt'), 'leftmiddle' ('lm'), 'leftbottom' ('lb'), 'righttop' ('rt'), 'rightmiddle' ('rm'), or 'rightbottom' ('rb'). When the caption is placed on either side of the main body text, the popup can be up to twice as wide as it would normally would be. This position string is not case-sensitive and the values in parentheses above are allowable short-hand alternatives.
Variable: ol_positioncap
SCROLLBARS scrollbars
Indicates that the main body text area will have scroll bars shown if they are needed. Default value is off (0). This feature is only supported in browsers with a version number greater than 5. This feature will definitely not work in Netscape 4.x and is, in fact, disabled for this browser. When this command is used, the popup is made STICKY, if it hasn't already been specified, and MOUSEOFF is set on so that the popup can be closed. The WIDTH and HEIGHT of the popup must also be specified. If no HEIGHT is given, a default value of 100 is set. [NOTE: In IE, scrollbars typically appear on both the vertical and horizontal axes, whereas they only appear on the vertical axis for the other supported browsers. If an HTML file is specified as the source file, then one can include the style rule BODY { overflow: auto; } in that file to supress the horizontal scroll bars when they aren't needed. ]
Variable: ol_scrollbars
NOBORDER show no border
Indicates whether a default border is shown around an IFRAME. In IE, the default is to show an inset border. This command is applicable only to the SRC command which employs an IFRAME to display contents. Default value is off (0) which means that a border is displayed. When used on the command line, it toggles the default setting of the associated variable to its opposite state.
Variable: ol_noborder
 
DATA, SRC html file to display
The parameters to either of these commands is the source file to display. In addition, using these either of these commands will automatically turn SCROLLBARS on so that its not necessary to add it unless you want to. If DATA is used, the file is shown using an <object> element; when SRC is used, the file is shown using an <iframe> element. Note, that Netscape 4.x does not understand either of these elements. When using these commands with overlib, any text string, provided as the first argument, will be ignored. The <iframe> element is not compatible with a strict DTD.
Variables: ol_data, ol_src

Back to Top


Thank you for visiting boughner.us - Come back again soon.