Index | OAT homepage | OpenLink Software

dimmer.js

dimmer.js

Reveals an object while dimming all others, i.e., a Lightbox effect.

Functions

OAT.Dimmer.show(element, optObj)

Shows element. Additional options can be specified via optObj:

OAT.Dimmer.hide()

Hides previously shown object and cancels dimmer effect.

Example


var div = OAT.Dom.create("div");
OAT.Dimmer.show(div, {color:"#f00", popup:false}); // modal window


Copyright (C) 2005-2009 OpenLink Software