6

Some links to answers on my user page are the regular colour, and some are blue. What's the difference between the two?

screenshot

Update

It appears that the behaviour works with Safari, but not with Firefox 7.0.1 (Mac OS 10.6.8). That is, the links are coloured but they don't seem to change as you visit them.)

11

The blue links point to answers you recently visited, the others are red.

Click one of the other links and go back to the list of answers, that link should then have changed the color to blue.

The color the browsing users sees depend on visits by him, not on visits by the profile owner. Just in the case your view your own profile it's the same.

  • A quick test doesn't actually show the expected behaviour. If I click on one of the orange links and then go back to the list of questions and reload the page, the link doesn't change to blue. Maybe there's a threshold of visits? (That's what prompted the question originally; the list of questions that were blue didn't seem to correlate with any of my activity.) – Alan Munn Nov 9 '11 at 17:04
  • @AlanMunn Perhaps test with a different browser or on a different computer. – Stefan Kottwitz Nov 9 '11 at 17:13
  • You're right, it works as expected in Safari. I've updated the question and added a bug tag. – Alan Munn Nov 9 '11 at 17:41
  • Did you try to reload the page after you went back? Maybe it is showing you the previously rendered page to save rendering time? – matth Nov 9 '11 at 21:02
  • @matth Yes (that's what my first comment said.) Paulo seems to have found a relevant link on the issue here: How can I detect visited and unvisited links on a page? – Alan Munn Nov 9 '11 at 23:34
  • Sorry, looks like I was already tired, not reading your comment carefully... – matth Nov 10 '11 at 9:12
  • is this still happening? I can't repro – Jin Dec 24 '11 at 6:14
8

Disclaimer: I thought of posting this text as a comment, but it would be too big.

Stefan is right, the blue color means you visited that link. :)

Just to add some technical/sorcery stuff:

I checked the main site stylesheet (css) and found the following entries:

a:visited {
   color:#3989bb;
}

a {
   ...
   color:#e3c485;
   ...
}

The a tag refers to a hyperlink, that is, a word, group of words, or image that you can click on to jump to a new document or a new section within the current document.1

The word right after the a tag and the : symbol means a pseudo-class, that is, a reference to add special effects to the tag2. In our example, a:visited means that a visited hyperlink will be set according to the key/value entries in the group.

The colors are defined using a hexadecimal notation for the combination of red, green, and blue color values (RGB)3. We can check what colors those numbers represent:

#e3c485

Color 1

#3989bb

Color 2

I hope I picked up the right colors, the css file is huge. But the idea is the same. :)

References

  1. HTML Hyperlinks
  2. Pseudo-classes
  3. HTML Colors
3

Everything looks fine to me, using FF 22.0 on OSX. I marking this is , not because it didn't happen, but because there's nothing to de bug anymore.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .