JavaScript Tutorial/Document/vlinkColor — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 11:24, 26 мая 2010
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>