javascript layer bgColor
| bgColor | NN |4| IE n/a DOM n/a |
|
|
Read/Write |
|
Provides the background color of the element. While you may set the value with either a hexadecimal triplet or plain-language color value, values returned from the property are for some reason the decimal equivalent of the hexadecimal RGB version. The default behavior is a transparent background created with a bgColor property value of null. |
|
| Example | |
document.myIlayer.bgColor = "yellow"; |
|
| Value | |
|
A hexadecimal triplet or plain-language color name. Returned values are the decimal equivalent of the hexadecimal value. A value of null sets the background to transparent. |
|
| Default | |
|
null (transparent). |
|
Previous: javascript layer clip
1142,Nickname,Homepage or email,Comments here,Add comment
