Reference - SS.control.popup - Popup
Under documentation.
The popup control easily turns DIV elements into hidden/visible
popups that appear when a relevant defined action is triggered in the HTML document. This has
the potential for creating right click context menus which can be shown when the a right click is
triggered on a particular element and then hidden when an onclick event occurs.
The popup menu has effectivly been used in other controls such as the popup calendar and rich textbox.
Attributes:
Functions:
Members:
Attributes
callid
Element Call Id
Id of the element which will trigger the showing of the popup.
{String}
v1.0.0.20080625
[Top]
css
Cascading Style Sheet
Style sheet applied to the popup menu. Useful for setting the appearance of the popup menu including with and height dimensions.
{String}
v1.0.0.20080625
[Top]
hidedelay
Hide Popup Delay
Number of milliseconds to wait before the popup is hidden.
{Integer} - default = 9
v1.0.0.20080625
[Top]
offsetx
Popup Offset X
Number of pixels left of the triggered event co-ordinates.
{Integer} - default = 7
v1.0.0.20080625
[Top]
offsetx
Popup Offset Y
Number of pixels below of the triggered event co-ordinates.
{Integer} - default = 5
v1.0.0.20080625
[Top]
onevent
On Event Trigger
Name of the event on the element identified in the attribute callid
that will trigger the displaying of the popup element.
{String} - Default = "onfocus"
v1.0.0.20080625
[Top]
offevent
Off Event Trigger
Name of the event on the element identified in the attribute callid
that will trigger the hiding of the popup element.
{String} - Default = "onblur"
v1.0.0.20080625
[Top]
x
x co-ordinate override
Set to override the default popup position
{Integer}
v1.0.0.20080625
[Top]
y
y co-ordinate override
Set to override the default popup position
{Integer}
v1.0.0.20080625
[Top]
Functions
hide()
Hide Popup
Hides the Popup
v1.0.0.20080625
[Top]
show(e)
Show Popup
Displays the popup at the co-ordinates of the specified event unless these have been overridden with
the attributes x and y.
e : {Event} - Event that triggered the showing of the popup
v1.0.0.20080625
[Top]