[jQuery] Assinging the A:visted tag a class

[jQuery] Assinging the A:visted tag a class


I am trying to assign a tags in a DIV a class when they are clicked
and and visited and remove the class when another tag in the DIV is
clicked, I tried this t activate the tag:
$('#right a').focus(function(){
            $(this).addClass('current')
            });
This assigns all the a tags in the "right" div the clas 'current' but
only when clicked on, can anyone give me a clue?
Thanks