Index | OAT homepage | OpenLink Software

# OATDOClayers

- OATDOClayers
- _ _ layers.js
- _ _ _ _ Objects
- _ _ _ _ _ _ OAT.Layers(baseOffset)
- _ _ _ _ Methods
- _ _ _ _ _ _ OAT.Layers::addLayer(element, activationEvent)
- _ _ _ _ _ _ OAT.Layers::removeLayer(element)

## layers.js

Generic z-index manager.

### Objects

#### OAT.Layers(baseOffset)

Creates `Layers` stack. All participating elements are assigned increasing sequence of z-indexes, started from `baseOffset` .

### Methods

#### OAT.Layers::addLayer(element, activationEvent)

Adds `element` to stack. When `activationEvent` (default: mousedown) fires, the element is raised.

#### OAT.Layers::removeLayer(element)

Removes `element` from stack.

Copyright (C) 2005-2008 OpenLink Software