JavaScript Reference/Javascript Properties/vlinkColor

Материал из Web эксперт
Перейти к: навигация, поиск

"vlinkColor" Example

    
<html>
<body>
<a href="http://www.wbex.ru" target="_blank">wbex.ru Home Page</a>
<script language="JavaScript">document.vLinkColor = "orange";
</script>
</body>
</html>



"vlinkColor" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |document                                                      |
+----------------+--------------------------------------------------------------+



"vlinkColor" Syntax and Note

Note:
Read and write property. 
Sets the text color of all visited <a> elements. 
Similar to the vLink property, except that vlinkColor affects the document 
object rather than the <body> element. 

Value: 
Web color name or hexadecimal value in #RRGGBB format.
    
    
Syntax:
    
document.getElementById("elementID").vlinkColor = value
document.all.elementID.vlinkColor = value // IE only