Index | OAT homepage | OpenLink Software

# OATDOCfisheye

- OATDOCfisheye
- _ _ fisheye.js
- _ _ _ _ Objects
- _ _ _ _ _ _ OAT.FishEye(optionsObject)
- _ _ _ _ Methods
- _ _ _ _ _ _ OAT.FishEye::addImage(url)
- _ _ _ _ CSS classes
- _ _ _ _ _ _ .fisheye
- _ _ _ _ Example

## fisheye.js

Creates Mac-like dock.

### Objects

#### OAT.FishEye(optionsObject)

The dock will be created using options specified in `optionsObject` .

- `smallSize` - minimal (normal) size of an image.
- `bigSize` - maximal size of an active image.
- `limit` - radius of the fisheye effect.
- `spacing` - space between images.

### Methods

#### OAT.FishEye::addImage(url)

Adds a new image found at `url` to the dock.

### CSS classes

#### .fisheye

CSS class of the fisheye div.

### Example

    var f = new OAT.FishEye({smallSize:48, bigSize:64, limit:200, spacing:5});
    document.body.appendChild(f.div);
    f.addImage("image.png");

Copyright (C) 2005-2008 OpenLink Software