home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  

JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference

Document.vlinkColor Property


Document.vlinkColor Property---the color of visited links


Navigator 2.0, Internet Explorer 3.0




vlinkColor is a string property that specifies the color of visited links in document. This color is displayed for links that the user has already followed, i.e., those that reference a URL that the user has already visited.

The visited link color can be specified through the VLINK attribute in the <BODY> HTML tag, and the vlinkColor property will contain the specified value. The color may also be specified by assigning a value to vlinkColor directly, but this may only be done in the <HEAD> of the document, before the <BODY> tag is parsed.

Colors are specified either as one of the standard color names recognized by JavaScript, or as red, green, and blue color values, expressed as a string of six hexadecimal digits in the form "RRGGBB".

Previous Home Next
Document.URL Book Index Document.write()

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell