OpenLink AJAX Toolkit (OAT) Wiki
Documentation, live demonstrations and programmers' guides for the OpenLink AJAX Toolkit (OAT)
Advanced Search
Help?
Location: / Dashboard / OATWikiWeb / OATDOCfisheye

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 aturlto 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");


Powered By Virtuoso