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  


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.

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

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.


Varies with operating system.

Powered by Linode.