Javascript Reference
Categories: FRAME

javascript FRAME borderColor

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

Read/Write  

Color of the frame's border. Each browser and operating system may resolve conflicts between different colored borders differently, so test any changes your scripts make to the color of individual frame borders.

 
Example
 
parent.document.getElementById("myFrame").borderColor = "salmon";
 
Value

A hexadecimal triplet or plain-language color name. A setting of empty is interpreted as "#000000" (black). See Appendix A for acceptable plain-language color names.

 
Default

Varies with operating system.


Powered by Linode.