Hemi JavaScript Framework

Hemi.css

Description

The CSS Utility class includes tools for positioning, importing external stylesheets, and enabling and disabling stylesheets.

static Hemi.css

version 3.1.0

Utilities for DOM Styles and Cascading Style Sheets.

Index

Method Index

Methods

getAbsoluteLeft

Returns the absolute left position of the specified node.

Syntax

i = getAbsoluteLeft( o, r )

Parameters

Returns

i as int: The absolute left of the specified object from the parent window.

getAbsolutePosition

Returns the absolute position of the specified node.

Syntax

i = getAbsolutePosition( o, r, b )

Parameters

Returns

i as int: The absolute position of the specified object from the parent window.

getAbsoluteTop

Returns the absolute top position of the specified node.

Syntax

i = getAbsoluteTop( o, r )

Parameters

Returns

i as int: The absolute top of the specified object from the parent window.

loadStyleSheet

Imports the specified stylesheet.

Syntax

void loadStyleSheet( sUrl, sName )

Parameters

toggleStyleSheet

Enables or disables the specified external stylesheet.

Syntax

void toggleStyleSheet( sTitle, bEnable )

Parameters