javascript document linkColor
@July 4, 2008, 4:02 p.m.
linkColor | Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM n/a |
|
Read/Write |
Indicates the color of a hypertext link that has not been visited (that is, the URL of the link is not in the browser's cache). This is one of three states for a link: unvisited, active, and visited. The color is applied to the link text or border around an image or object embedded within an a element. Changes to this property do not dynamically change the link color in Navigator 4 or earlier. Starting with IE 4 and Netscape 6, you should switch to using the W3C DOM alternative, document.body.link, or style sheets. |
|
Example | |
document.link Color= "#00FF00"; |
|
Value | |
A hexadecimal triplet or plain-language color name. See Appendix A for acceptable plain-language color names. |
|
Default | |
#0000FF |
Permanent URL:
http://javascript.gakaa.com/document-linkcolor.aspx
Powered by Linode.