5

Would be nice in many cases to link directly to every section in a user page one wants to point out.

For instance, in discussions on upvote/downvote ratios, users that are outliers are sometimes called out, and it would be nice to have a link such as

https://stackoverflow.com/users/2915/adam-davis#votes

That would go directly to the upvote/downvote section. Sections that would be useful are:

info
questions (already named)
answers (already named)
votes
tags
badges

1
  • 1
    So that we can discuss users' voting habits in excruciating detail?
    – user102937
    Commented Jan 13, 2010 at 18:38

1 Answer 1

1

Eh, why not... I like anchors. Always bugs me when sites don't use enough of them. MSDN is terrible about this; W3C is great (guess that kinda makes sense though).

Kevin Vermeer dug up this awesome suggestion which you should all go and up-vote now.

5
  • Someone find that suggestion for me and I'll upvote it too!
    – Pollyanna
    Commented Jan 14, 2010 at 14:59
  • @Shog9 - It's here: meta.stackexchange.com/q/37894 but it's got a cogent argument to not allow anchors in long answers: If the answers spill to two pages, the link may break (similar to the old argument against comment anchors). Commented May 9, 2012 at 17:20
  • Thanks @Kevin - the solution here is easier than for comments, since answer links already contain the answer's ID (and thus can load the correct page) - the trick is simply to generate the IDs (and links containing them) automatically so as not to lose this information.
    – Shog9
    Commented May 9, 2012 at 17:40
  • @Shog9 - Ah, so this is no longer a problem? That's what the latter half of my comment is referencing...I miss being able to edit comments after the fact. Commented May 9, 2012 at 17:43
  • @Kevin: yeah, check out the format for comment links - the trick is that the answer ID always stays part of the path (so the site knows to send down the page with the right answer) and then a bit of script handles the rest. In-answer targets wouldn't require the script.
    – Shog9
    Commented May 9, 2012 at 17:47

You must log in to answer this question.

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