<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: a:visited Not Working In Firefox</title>
	<atom:link href="http://superaff.com/archives/2007/09/30/avisited-not-working-in-firefox/feed/" rel="self" type="application/rss+xml" />
	<link>http://superaff.com/archives/2007/09/30/avisited-not-working-in-firefox/</link>
	<description>Resources and hype-free conversation for webentrepreneurs interested in making money online.</description>
	<lastBuildDate>Mon, 13 Apr 2009 09:57:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Tom</title>
		<link>http://superaff.com/archives/2007/09/30/avisited-not-working-in-firefox/comment-page-1/#comment-80263</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Wed, 02 Jul 2008 18:52:19 +0000</pubDate>
		<guid isPermaLink="false">http://superaff.com/archives/2007/09/30/avisited-not-working-in-firefox/#comment-80263</guid>
		<description>Thanks - spent the last hour trying to figure it out - you&#039;re a life saver!</description>
		<content:encoded><![CDATA[<p>Thanks &#8211; spent the last hour trying to figure it out &#8211; you&#8217;re a life saver!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rapha</title>
		<link>http://superaff.com/archives/2007/09/30/avisited-not-working-in-firefox/comment-page-1/#comment-60406</link>
		<dc:creator>Rapha</dc:creator>
		<pubDate>Tue, 13 Nov 2007 16:12:28 +0000</pubDate>
		<guid isPermaLink="false">http://superaff.com/archives/2007/09/30/avisited-not-working-in-firefox/#comment-60406</guid>
		<description>Oh dear..

I didnt expect that my source code will be removed :)

CSS:

   a		
   { 
      color : blue;		
   }
   a.visited	
   { 
      color : silver; 	
   }

Javascript:

   function AnchorOnMouseUp ( AnchorId )
   {	
      document.all.tags(&quot;a&quot;)[AnchorId].className = &quot;visited&quot;;	
   }

Onmouseup-behaviour:

   onmouseup = &quot;javascript:AnchorOnMouseUp(0);&quot;;

Regards,
Rapha</description>
		<content:encoded><![CDATA[<p>Oh dear..</p>
<p>I didnt expect that my source code will be removed <img src='http://superaff.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>CSS:</p>
<p>   a<br />
   {<br />
      color : blue;<br />
   }<br />
   a.visited<br />
   {<br />
      color : silver;<br />
   }</p>
<p>Javascript:</p>
<p>   function AnchorOnMouseUp ( AnchorId )<br />
   {<br />
      document.all.tags(&#8220;a&#8221;)[AnchorId].className = &#8220;visited&#8221;;<br />
   }</p>
<p>Onmouseup-behaviour:</p>
<p>   onmouseup = &#8220;javascript:AnchorOnMouseUp(0);&#8221;;</p>
<p>Regards,<br />
Rapha</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rapha</title>
		<link>http://superaff.com/archives/2007/09/30/avisited-not-working-in-firefox/comment-page-1/#comment-60405</link>
		<dc:creator>Rapha</dc:creator>
		<pubDate>Tue, 13 Nov 2007 16:04:34 +0000</pubDate>
		<guid isPermaLink="false">http://superaff.com/archives/2007/09/30/avisited-not-working-in-firefox/#comment-60405</guid>
		<description>Dear Terry.

Thx a lot for your article!

In my Firefox (v2.0.0.9), &quot;Tools &gt; Options &gt; Privacy&quot; is set to 9 days, and the order of the anchor-behaviour (:link, :visited, etc.) in the external CSS-file is correct - But the &quot;:visited&quot;-property is not working anyway in Firefox - I dont have any idea why..

How ever, here is a possible workaround.

Instead of using the built-in features of a browser, I (re-)define the name of the class which shall be used by a a-tag after a link was clicked. The different class names are implemented in CSS and a part of the website:


   



The changing of the name of the class is implemented in Javascript:


   



Then you have the define the onmouseup-behaviour of a a-tag:

&lt;a href=&quot;..&quot; rel=&quot;nofollow&quot;&gt;Anchor #0&lt;/a&gt;

Please note that the parameter of the function call (in my example:0) must apply! So the first anchor calls with a &quot;0&quot;, the second one with a &quot;1&quot; and so on. This is because Javascript enumerates webpage-elements starting with 0 :)

I tested this in Firefox and in IEx (v7.x), it seems to work fine.

Best regards from Switzerland!
Rapha</description>
		<content:encoded><![CDATA[<p>Dear Terry.</p>
<p>Thx a lot for your article!</p>
<p>In my Firefox (v2.0.0.9), &#8220;Tools &gt; Options &gt; Privacy&#8221; is set to 9 days, and the order of the anchor-behaviour (:link, :visited, etc.) in the external CSS-file is correct &#8211; But the &#8220;:visited&#8221;-property is not working anyway in Firefox &#8211; I dont have any idea why..</p>
<p>How ever, here is a possible workaround.</p>
<p>Instead of using the built-in features of a browser, I (re-)define the name of the class which shall be used by a a-tag after a link was clicked. The different class names are implemented in CSS and a part of the website:</p>
<p>The changing of the name of the class is implemented in Javascript:</p>
<p>Then you have the define the onmouseup-behaviour of a a-tag:</p>
<p><a href="..">Anchor #0</a></p>
<p>Please note that the parameter of the function call (in my example:0) must apply! So the first anchor calls with a &#8220;0&#8243;, the second one with a &#8220;1&#8243; and so on. This is because Javascript enumerates webpage-elements starting with 0 <img src='http://superaff.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I tested this in Firefox and in IEx (v7.x), it seems to work fine.</p>
<p>Best regards from Switzerland!<br />
Rapha</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terry</title>
		<link>http://superaff.com/archives/2007/09/30/avisited-not-working-in-firefox/comment-page-1/#comment-55012</link>
		<dc:creator>Terry</dc:creator>
		<pubDate>Thu, 04 Oct 2007 03:22:32 +0000</pubDate>
		<guid isPermaLink="false">http://superaff.com/archives/2007/09/30/avisited-not-working-in-firefox/#comment-55012</guid>
		<description>Asa, this is confusing to me because I don&#039;t understand the mechanics of it all. But I have no problem with a browser retaining my surfing history during the current session.</description>
		<content:encoded><![CDATA[<p>Asa, this is confusing to me because I don&#8217;t understand the mechanics of it all. But I have no problem with a browser retaining my surfing history during the current session.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asa Dotzler</title>
		<link>http://superaff.com/archives/2007/09/30/avisited-not-working-in-firefox/comment-page-1/#comment-54993</link>
		<dc:creator>Asa Dotzler</dc:creator>
		<pubDate>Wed, 03 Oct 2007 22:40:15 +0000</pubDate>
		<guid isPermaLink="false">http://superaff.com/archives/2007/09/30/avisited-not-working-in-firefox/#comment-54993</guid>
		<description>Terry, if IE is showing you visited links as highlighted then it is not wiping everything clean when you close it. There is simply no way, short of magic, for the browser to mark your visited sites as visited if it doesn&#039;t maintain a list. I guess IE figures you won&#039;t mind if they keep around your data even if you explicitly tell them to remove it. At Firefox, when you clear or ask us not to keep data around, we actually listen.

- A</description>
		<content:encoded><![CDATA[<p>Terry, if IE is showing you visited links as highlighted then it is not wiping everything clean when you close it. There is simply no way, short of magic, for the browser to mark your visited sites as visited if it doesn&#8217;t maintain a list. I guess IE figures you won&#8217;t mind if they keep around your data even if you explicitly tell them to remove it. At Firefox, when you clear or ask us not to keep data around, we actually listen.</p>
<p>- A</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terry</title>
		<link>http://superaff.com/archives/2007/09/30/avisited-not-working-in-firefox/comment-page-1/#comment-54663</link>
		<dc:creator>Terry</dc:creator>
		<pubDate>Sun, 30 Sep 2007 23:22:42 +0000</pubDate>
		<guid isPermaLink="false">http://superaff.com/archives/2007/09/30/avisited-not-working-in-firefox/#comment-54663</guid>
		<description>I don&#039;t know Asa, IE handles it fine (I have it set to wipe everything when I close the browser). Maybe it is the history?</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know Asa, IE handles it fine (I have it set to wipe everything when I close the browser). Maybe it is the history?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asa Dotzler</title>
		<link>http://superaff.com/archives/2007/09/30/avisited-not-working-in-firefox/comment-page-1/#comment-54651</link>
		<dc:creator>Asa Dotzler</dc:creator>
		<pubDate>Sun, 30 Sep 2007 19:49:06 +0000</pubDate>
		<guid isPermaLink="false">http://superaff.com/archives/2007/09/30/avisited-not-working-in-firefox/#comment-54651</guid>
		<description>How would you propose a browser know which links to treat as visited without storing a list of visited links -- history?

- A</description>
		<content:encoded><![CDATA[<p>How would you propose a browser know which links to treat as visited without storing a list of visited links &#8212; history?</p>
<p>- A</p>
]]></content:encoded>
	</item>
</channel>
</rss>

