Index | OAT homepage | OpenLink Software

# OATDOCinstant

- OATDOCinstant
- _ _ instant.js
- _ _ _ _ Objects
- _ _ _ _ _ _ OAT.Instant(element, optObj)
- _ _ _ _ Methods
- _ _ _ _ _ _ OAT.Instant::show()
- _ _ _ _ _ _ OAT.Instant::hide()

## instant.js

Provides pop-up functionality to any element.
This API was changed recently. Backward compatibility should be preserved, but please check if your functionality remained the same.

### Objects

#### OAT.Instant(element, optObj)

Assigns `element` a pop-up functionality. The element can be then shown by `OAT.Instant::show()` and will be hidden by clicking elsewhere, or by explicitly calling `OAT.Instant::hide()` . `optObj` may contain:

- `showCallback` - function reference to be executed when popup is shown
- `hideCallback` - function reference to be executed when popup is hidden

### Methods

#### OAT.Instant::show()

Show the element.

#### OAT.Instant::hide()

Explicitly hide the element.

Copyright (C) 2005-2008 OpenLink Software