Document.vlinkColor (Property)

The color of a visited link in the current document.

Availability:

DOM level - 0
JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Opera - 3.0
Deprecated in DOM level 1
Property/method value type:Color value
JavaScript syntax:-myDocument.vlinkColor
-myDocument.vlinkColor = aColorValue
HTML syntax:<BODY VLINK="aColorValue">
Argument list:aColorValueA hex color value or color name

This value controls the text of visited links in the document body. You should use the normal color values to define the required color.

This corresponds to the VLINK attribute in the <BODY> tag.

Now that the style control facilities are more sophisticated, this tag attribute is likely to fall into disuse. On the other hand it does work consistently on both MSIE and Netscape where style sheet controls do not.

DOM level 1 deprecates the use of this property in favor of the BODY.vLink property.

Warnings:

See also:BODY.aLink, BODY.link, BODY.text, BODY.vLink, Color names, Color value, Document object, Document.alinkColor, Document.bgColor, Document.fgColor, Document.linkColor