{popup}Attribute NameTypeRequiredDefaultDescriptiontextstringYesn/athe text/html to display in the popup windowtriggerstringNoonMouseOverWhat is used to trigger the popup window. Can be
one of onMouseOver or onClickstickybooleanNofalseMakes the popup stick around until closedcaptionstringNon/asets the caption to titlefgcolorstringNon/acolor of the inside of the popup boxbgcolorstringNon/acolor of the border of the popup boxtextcolorstringNon/asets the color of the text inside the boxcapcolorstringNon/asets color of the box's captionclosecolorstringNon/asets the color of the close texttextfontstringNon/asets the font to be used by the main textcaptionfontstringNon/asets the font of the captionclosefontstringNon/asets the font for the "Close" texttextsizestringNon/asets the size of the main text's fontcaptionsizestringNon/asets the size of the caption's fontclosesizestringNon/asets the size of the "Close" text's fontwidthintegerNon/asets the width of the boxheightintegerNon/asets the height of the boxleftbooleanNofalsemakes the popups go to the left of the mouserightbooleanNofalsemakes the popups go to the right of the mousecenterbooleanNofalsemakes the popups go to the center of the mouseabovebooleanNofalsemakes the popups go above the mouse. NOTE: only
possible when height has been setbelowbooleanNofalsemakes the popups go below the mouseborderintegerNon/amakes the border of the popups thicker or thinneroffsetxintegerNon/ahow far away from the pointer the popup will show
up, horizontallyoffsetyintegerNon/ahow far away from the pointer the popup will show
up, verticallyfgbackgroundurl to imageNon/adefines a picture to use instead of color for the
inside of the popup.bgbackgroundurl to imageNon/adefines a picture to use instead of color for the
border of the popup. NOTE: You will want to set bgcolor
to "" or the color will show as well. NOTE: When having
a Close link, Netscape will re-render the table cells,
making things look incorrectclosetextstringNon/asets the "Close" text to something elsenoclosebooleanNon/adoes not display the "Close" text on stickies
with a captionstatusstringNon/asets the text in the browsers status barautostatusbooleanNon/asets the status bar's text to the popup's text.
NOTE: overrides status settingautostatuscapstringNon/asets the status bar's text to the caption's text.
NOTE: overrides status and autostatus settingsinarrayintegerNon/atells overLib to read text from this index in
the ol_text array, located in overlib.js. This
parameter can be used instead of textcaparrayintegerNon/atells overLib to read the caption from this index
in the ol_caps arraycapiconurlNon/adisplays the image given before the popup captionsnapxintegerNon/asnaps the popup to an even position in a
horizontal gridsnapyintegerNon/asnaps the popup to an even position in a
vertical gridfixxintegerNon/alocks the popups horizontal position Note:
overrides all other horizontal placementfixyintegerNon/alocks the popups vertical position Note:
overrides all other vertical placementbackgroundurlNon/asets image to be used instead of table box
backgroundpadxinteger,integerNon/apads the background image with horizontal
whitespace for text placement. Note: this is a two
parameter commandpadyinteger,integerNon/apads the background image with vertical
whitespace for text placement. Note: this is a two
parameter commandfullhtmlbooleanNon/aallows you to control the html over a background
picture completely. The html code is expected in the "text"
attributeframestringNon/acontrols popups in a different frame. See the
overlib page for more info on this functiontimeoutstringNon/acalls the specified javascript function and takes
the return value as the text that should be displayed in
the popup windowdelayintegerNon/amakes that popup behave like a tooltip. It will
popup only after this delay in millisecondshautobooleanNon/aautomatically determine if the popup should be to
the left or right of the mouse.vautobooleanNon/aautomatically determine if the popup should be
above or below the mouse.
{popup} is used to create javascript popup windows.
{popup_init} MUST be called first for
this to work.
{popup}
mypage
{* you can use html, links, etc in your popup text *}
mypage
]]>
See also
{popup_init}
and
overLib.