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

Methods


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 OAT.Instant::hide(). optObj may contain:

OAT.Instant::show()

Show the element.

OAT.Instant::hide()

Explicitly hide the element.