Then, you'll need to create the popups using lists of parameters. Use the example below to see the format:
(all popup parameters must be on one line)
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);
- 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 syntax! String.
- 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 cascading stylesheet 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 active. 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 will not be present and the minimize and restore buttons will not work either. 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.