[KLUG Members] visited link as a variable

Richard Harding rick at ricksweb.info
Fri Dec 3 06:08:33 EST 2004


Lunitix wrote:

> Is there a way to utilize a:visited in such a way to make it a 
> variable on a php page.
>
> i.e.
>
> if (a:visited=false) {
>     show this secondary graphic
> } else {
>     show this primary graphic
> }
>
> Jon
> Minding of Madness
> _______________________________________________
> Members mailing list
> Members at kalamazoolinux.org
> 

Well, you could set a CSS property for say a background image. So for 
the a:visited property set the background image to a different one than 
the others. Then just place the link on a spacer.gif sized large enough 
to hold the space for the background image.

Rick


More information about the Members mailing list