JavaScript Tutorial/Document/vlinkColor

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

document.vlinkColor

The vlinkColor property specifies the color of visited links.

The color is expressed as a string in hexadecimal digits or as one of the JavaScript standard color names.

The hexadecimal form is made up of 6 digits that follow the pattern "RRGGBB".



   <source lang="javascript">

<HTML> <head> <title>this is a title</title> </head> <BODY bgcolor="beige" text= "black" link="darkblue" vlink="honeydew"> <SCRIPT language="JavaScript">

</SCRIPT> </BODY> </HTML></source>


Set document.vlinkColor

   <source lang="javascript">

<html>

   <a href="http://www.wbex.ru">The Green Site</a>
<script language="JavaScript"> </script> <a href="myGreenGrassPage.html">The Green Grass Page</a> </html></source>