Opacity (Function)

Gets or sets the opacity level of Opacity of the element. Opacity that is set by stylesheets will not be returned properly. Setting the Opacity of an element with this function is the safest way to return current Opacity. Opacity levels range from 0 (transparent) to 1 (opaque).



Opacity() : Number – Returns the opacity level of the element.

Opacity(Number value) : Element – Sets the opacity level (0 – 1) of the element.

Last edited Jan 5, 2011 at 5:51 PM by dahrkdaiz, version 1


No comments yet.