Availability: |
| ||||||||
Property/method value type: | Color value | ||||||||
JavaScript syntax: | - | myDocument.vlinkColor | |||||||
- | myDocument.vlinkColor = aColorValue | ||||||||
HTML syntax: | <BODY VLINK="aColorValue"> | ||||||||
Argument list: | aColorValue | A 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.
This property can only be changed in the <HEAD> section. You cannot modify it after the <BODY> has commenced loading.
Prev | Home | Next |
Document.URL | Up | Document.width |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |