Removes the pop-up window.
removePopup(popup);
Parameter |
Description |
sEvent |
The name of the event generating the call |
fpNotify |
The function to call when the event fires |
Parameter |
Description |
popup
|
A string which specifies the caption of the pop-up to be removed or an existing instance of SGPopup or SGNotification object that describes the pop-up to be removed. If popup is null, any currently displayed notification is removed. |
Remarks
This method removes the pop-up and does not simply hide it from the view. If the pop-up contained an HTML, the HTML object would have been destroyed.
Example
The following example illustrates the use of the removePopup method.
function removeMyUrl()
{
globe.removePopup(“My popup”);
}