Re: [WSG] different hover for visited links than unvisited?

2005-02-09 Thread Kornel Lesinski
On Wed, 9 Feb 2005 17:16:41 +1000, Jason Foss [EMAIL PROTECTED] wrote: Can the DOM check the 'visitedness' of an a element? no Is there a way to use the DOM to scan the page for visited links and assign them a class? yes, if you change link style using CSS :visited and look for this style in

[WSG] different hover for visited links than unvisited?

2005-02-08 Thread Andreas Boehmer
I was wondering whether there is any way of creating a different hover effect for visited links than unvisited links, but I have got the feeling there is no way to achieve this? I was first hoping it could be done by changing the standard order of the pseudo classes, but that's not the way to go.

Re: [WSG] different hover for visited links than unvisited?

2005-02-08 Thread Andreas Boehmer
I was wondering whether there is any way of creating a different hover effect for visited links than unvisited links, but I have got the feeling there is no way to achieve this? I was first hoping it could be done by changing the standard order of the pseudo classes, but that's not the way

Re: [WSG] different hover for visited links than unvisited?

2005-02-08 Thread Jalenack
Yes, heres the code a:visited:hover { **styles** } Not sure about its browser compatibility, but I've never seen it not work :p On Tue, 08 Feb 2005 18:40:34 -0800, Andreas Boehmer [EMAIL PROTECTED] wrote: I was wondering whether there is any way of creating a different hover effect for

Re: [WSG] different hover for visited links than unvisited?

2005-02-08 Thread Andrew Krespanis
a:visited:hover { ...styles... } OR a:visited::hover { ... } (double colon is CSS3 syntax) Untested, but theoretically it should work... Andrew. http://leftjustified.net/ On Tue, 08 Feb 2005 18:40:34 -0800, Andreas Boehmer [EMAIL PROTECTED] wrote: I was

Re: [WSG] different hover for visited links than unvisited?

2005-02-08 Thread Jason Foss
Is there a way to use the DOM to scan the page for visited links and assign them a class? I don't know enough about the subject to offer up a solution myself - I'm not even sure that's possible. Can the DOM check the 'visitedness' of an a element? If it can that would be a cross-browser solution.