document Properties Object Properties Summary
Sets or retrieves the color of links that have already been visited.
HTML |
N/A |
Script |
document.vLinkColor [ = sColor ] |
sColor |
One of the color names or values in the Color Table. |
The property is read/write with a default value of #800080, and is the returned value if the property has not been set.
This example code fragment assigns the visited link color to a variable named vColor and displays it in a message box.
vColor = document.vlinkColor;
alert ( "Visited links color is set to " + vColor )
Show me
document
alinkColor, linkColor