OpenLink AJAX Toolkit (OAT) Wiki Web

OATWikiWeb.OATDOCfisheye

  • Topic
  • Discussion
  • OATWikiWeb.OATDOCfisheye(Last) -- DAVWikiAdmin? , 2008-09-22 11:13:44 Edit WebDAV System Administrator 2008-09-22 10:13:44

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

    CategoryDocumentation CategoryOAT CategoryOpenSource