Index | OAT homepage | OpenLink Software

# OATDOCnotify

- OATDOCnotify
- _ _ notify.js
- _ _ _ _ Functions
- _ _ _ _ _ _ OAT.Notify.send(content, options);

## notify.js

Provides API for informative notification boxes.

### Functions

#### OAT.Notify.send(content, options);

Small box with the desired content will appear for the specified time in the top right corner of the screen. `Content` is string or object which is inserted into the notification box. As the second parameter you may specify the following `options` :

- `image` - url of included image
- `padding` - style of the container (default `2px` )
- `background` - style of the container (default `#ccc` )
- `color` - style of the container (default `#000` )
- `style` - custom properties for the text
- `opacity` - style of the container (default `0.8` )
- `delayIn` - delay when fading in (default `50ms` )
- `delayOut` - delay when fading out (default `50ms` )
- `timeout` - how long is the box visible (default `2000ms` )
- `width` , `height` - box dimensions

Copyright (C) 2005-2008 OpenLink Software