Class: PreparedPopupClass

PreparedPopupClass

This class represents a popup / dialog. With its methods you are able to show the user in your html document predefined popups or dialogs.

If you want that your popup / dialog resizes and relocate by the browser window, use the global function relocatePreparedPopup at $(window).resize(call_of_relocatePreparedPopup);.

Constructor

new PreparedPopupClass(id)

Creates an object of this class.
Parameters:
Name Type Description
id String Id of a html element. This element is your popup.
Source:

Methods

hidePreparedPopup()

Hides a prepared popup. A prepared popup is an user created HTML element.
Source:

showPreparedPopup()

Shows a prepared popup. A prepared popup is an user created HTML element.

For auto-resize/relocate use the method relocatePreparedPopup at the resize event of the window.

For hiding the popup add the methdod hidePreparedPopup of this class to the buttons of your HTML element.
Source: