Then, you'll need to create the popups using lists of parameters. Use the example below to see the format:
new popUp(left_position, top_position, width, height, id_of_box, content_text, content_bgcolor, content_text_color, content_font_stylestring, title_text, title_bgcolor, title_text_color, border_color, scrollbar_color, shadow_color, is_hidden_on_start, is_draggable, is_resizeable, show_old, is_external, disable_on_return , min_image, max_image, close_image, resize_image);
- left_position - Left pixel coordinate from left edge of browser window. Number.
- top_position - Top pixel coordinate from left edge of browser window. Number.
- width - Width of popup in pixels. Number.
- height - Height of popup in pixels. Number.
- id_of_box - Unique arbitrary ID value given to the popup. String.
- content_text - HTML string inside popup. Because the content is in string form, watch for quotes syntax! Use the wizard (at top of page) for help.
- content_bgcolor - Content area background color. Hex color triplet or valid color name string.
- content_text_color - Content text color, obviously. Hex color triplet or valid color name string.
- content_font_stylestring - Font style set using CSS type syntax. Hex color triplet or valid color name string.
- title_text - Text to appear in the titlebar. String.
- title_bgcolor - Background color of the titlebar when active. Hex color triplet or valid color name string.
- title_text_color - Color of the titlebar text. Hex color triplet or valid color name string.
- border_color - Color of the popup borders. Hex color triplet or valid color name string.
- scrollbar_color - Color of the scrollbar (IE5.5 only) and the color of the titlebar when not in focus. Hex color triplet or valid color name string.
- shadow_color - Semi-transparent shadow color (IE5+, NS6+ only). Hex color triplet or valid color name string.
- is_hidden_on_start - Specifies whether the popup is initially "closed". true or false.
- is_draggable - Specifies whether popup is draggable. true or false.
- is_resizeable - Specifies whether popup is resizeable. If not, resize handle and the minimize/maximize buttons will not be present. true or false.
- show_old - Specifies whether the popup will show up in "non-standards" browsers. The popup appears as normal windows in these types of browsers if this value is enabled. true or false.
- is_external - Specifies whether the text in the content area is a link to an external website or simply text to display in the popup. If this is not set, the URL in the content area will not be loaded, it will just be displayed as text. true or false.
- disable_on_return - Specifies whether the popups will reappear if the user returns to the page. This option uses cookies, so the user must have cookies enabled for this to work. true or false.
- min_image - Specifies the image URL and path (if applicable) where the minimize image is stored. Example: 'min.gif'
- max_image - Specifies the image URL and path (if applicable) where the maximize image is stored. Example: 'max.gif'
- close_image - Specifies the image URL and path (if applicable) where the close image is stored. Example: 'close.gif'
- resize_image - Specifies the image URL and path (if applicable) where the resize image is stored. Example: 'resize.gif'