Reference - Geometry Class (SS.geom)
Under documentation
Global Functions:
Attributes:
Functions:
Members:
Global Functions
$h()
Get / Set Height
Get / set height of a DOM element
{DOM Node} element - Element to get the height of.
{String} height - New height value. E.g. "100px" or "75%".Leave blank to return the height of the element without changing its size first.
{DOM Node} element - Element to get the height of.
{Integer} height - New height value in pixels. Leave blank to return the height of the element without changing its size first.
{Integer} - Height in pixels
v1.0.0.20080527
[Top]
$w()
Get / Set Width
Get / set width of a DOM element
{DOM Node} element - Element to get the width of.
{String} width - New width value. E.g. "100px" or "75%".Leave blank to return the width of the element without changing its size first.
{DOM Node} element - Element to get the width of.
{Integer} width - New width value in pixels. Leave blank to return the width of the element without changing its size first.
{Integer} - Width in pixels
v1.0.0.20080527
[Top]
$v()
Set Visibility of Element
Sets the visibility of an element by setting the inline style rule. E.g.
style.display='';" to show or style.display='none'; to hide.
{DOM Node} element - element to change the visibility of
{Boolean} visible - flag to indicate if the element is visible true or hidden false.
{Boolean} static - Default = false. If set to true then the visibility style rule is used instead of the default display style rule.
v1.0.1.20080625
[Top]