Javascript Reference
Categories: STYLE

javascript STYLE MozOpacity

@March 15, 2008, 1:22 a.m.
MozOpacityFirefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM n/a  

Read/Write  

Defines the level of opacity of the element. The lower the value, the more transparent the element becomes. This is the proprietary Mozilla version of the proprietary Microsoft opaque filter.

 
Example
 
document.getElementById("menuWrapper").style.MozOpacity = "40%";
 
Value

Numeric string value between 0 and 1 or string percentage value between 0% and 100%.

 
Default

100% (completely opaque)


Powered by Linode.