[Javascript] color of hyperlink

Rodney Myers rodney at aflyingstart.net
Wed May 1 08:27:23 CDT 2002


I was intrigued by this question and wanted to
investigate properties of a link to see
if there was one that indicated visited status.

I was surprised at how much came up and looked at many of the lower
echelons of objects that shown in the listing generated.
Did I find a visited attribute or anything similar? No sir!

For the record I was using IE6.0 for my investigations.

Rodney


<html><head></head><body>
<p><a href="myfile.htm">myfile.htm</a></p>
<pre>
<script language="JavaScript">
var myObj=document.links[0];
for( var att in myObj)
  { document.writeln(att ,"\t",myObj[att]); }
</script>
</pre>
</body></html>

Andrew Dunn wrote:

>     Is it possible to tell whether a hyperlink has been visited?




More information about the Javascript mailing list