Javascript Reference
Categories: document

javascript document vlinkColor

@March 15, 2008, 1:22 a.m.
vlinkColor Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM n/a

Read/Write (IE)

Color of a hypertext link that has been visited recently. The color is applied to the link text or border around an image or object embedded within an a element. See also alinkColor and linkColor properties for clicked and unvisited link colors. 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.vLink, or style sheets.

 
Example
 
document.vlinkColor = "gold";
 
Value

A hexadecimal triplet or plain-language color name. See Appendix A for acceptable plain-language color names.

 
Default

#551a8b (Navigator); #800080 (Internet Explorer Windows); #006010 (Internet Explorer Macintosh).


Powered by Linode.