SGPopup Properties

The properties of the SGPopup class are listed here. For a complete list of SGPopup class members, see SGPopup class.

Name

Description

left Property

Left x coordinate where the pop-up will be displayed relative to the 3D window.

top Property

Top y coordinate where the pop-up will be displayed relative to the 3D window.

width Property

Width, in pixels or in percentage of the 3D window, of the pop-up window.

height Property

Height, in pixels or in percentage of the 3D window, of the pop-up window.

caption Property

Caption of the pop-up.

src Property

A URL that is the source HTML to be displayed in the pop-up window.

timeout Property

Time in milliseconds, the pop-up window is displayed.

innerHTML Property

If the src property is undefined, the pop-up window utilizes an HTML page and lets the user modify its innerHTML as in a regular HTML web page.

innerText Property

If both src and innerHTML properties are undefined, the pop-up window is a simple text string. The text string is determined via this property.

allowResize Property

Enable/disable resizing of the pop-up window.

allowDrag Property

Enable/disable dragging of the pop-up window.

anchorToView Property

If true (default), whenever the user resizes the 3D window, the pop-up window jumps back to its original top, left position.

align Property

An alignment string that specifies the position of  the pop-up window.