18

I ask you to insert id attributes (definition, spec) for each heading and paragraph on https://stackoverflow.com/faq within the div.content-page. These serve as specific link target anchors, allowing to correctly deep-link to a certain relevant portion of the FAQ.

For instance, change

<p>When you have decided which answer is the most helpful to you…

to

<p id="accepted_answer">When you have decided which answer is the most helpful to you…
2
  • This would almost make lists bearable if used properly
    – Ivo Flipse
    Aug 6, 2010 at 10:17
  • Obsoleted by restructuring of the FAQ page.
    – daxim
    Oct 4, 2011 at 14:22

2 Answers 2

8

YES! I hate not being able to link to sub-headings...

Not sure that paragraph-level linking is all that necessary, but it wouldn't hurt.

4
  • what are we, like, Dave Winer, who links every paragraph ever? Aug 6, 2010 at 11:54
  • who? Link or it didn't happen...
    – Shog9
    Aug 6, 2010 at 14:22
  • Dave Winer kind of invented blogging. An example of what Jeff is talking about is scripting.com/stories/2010/08/06/…; every paragraph has a # after it to assist anyone who might possibly want to link to it.
    – mmyers
    Aug 7, 2010 at 4:59
  • 1
    Oh. Lame. I bet that guy uses Twitter. @mmyers.
    – Shog9
    Aug 7, 2010 at 16:34
7

OK, I added lots and lots of anchors to the faq:

<a name="ask">
<a name="benice">
<a name="behonest">
<a name="login">
<a name="howtoask">
<a name="reputation">
<a name="reputation-gain">
<a name="reputation-abilities">
<a name="bounty">
<a name="close">
<a name="deletion">
<a name="flagging">
<a name="signatures">
<a name="editing">
<a name="promotion">
<a name="search">

and just for you, shog9, a bonus anchor.

http://img832.imageshack.us/img832/2624/anchor.png

11
  • 2
    You should have used id instead of name. name has been removed (not just deprecated) in HTML 5. Aug 7, 2010 at 9:07
  • Jeff, please do it right. I specifically told about id attributes, and the page is still lacking a deeplink for accepted answer.
    – daxim
    Aug 13, 2010 at 12:01
  • @daxim <a name="howtoask"> covers this.. just link like so stackoverflow.com/faq#howtoask Oct 10, 2010 at 18:20
  • Wow, people still use <a name> for anchors? You already have <h2> tags, add an id="foo" attribute to them.
    – Nicolás
    Oct 14, 2010 at 17:14
  • 1
    You are inconsiderate to my request because you think I do not know how to use a deep-link – even though that should be evident from what I wrote up the question – instead of taking my complaint at face value; and you are inconsiderate to Kop's criticism on the technical side (id attributes), too. This lowers your standing in my esteem. I give up. If by now you have not understood what the use case and purpose of deep-linking to this very specific part of the FAQ is, you never will.
    – daxim
    Oct 14, 2010 at 17:19
  • @daxim see "linked questions" in the right hand column of this question. Is that what you meant? I don't think I ever understood that. Apr 10, 2011 at 8:48
  • No, that's not what I meant. Go to meta.stackexchange.com/q/86859 and see about that this patch is applied.
    – daxim
    Apr 10, 2011 at 19:21
  • @daxim if you read the linked column I'm pretty sure the link there, meta.stackexchange.com/questions/86826/… , is what you were talking about. Personally I don't have a problem with our HTML 4.01 Strict doctype, though.. Apr 11, 2011 at 4:20
  • Jeff, did you actually try out that JQuery snippet? I know I did. Fact: it does solve the problem described in this topic here. Go back to the top and read it until you understand it. It's not difficult. Try harder to stop making wrong assumptions because this greatly inhibits communication. Apply the patch.
    – daxim
    Apr 11, 2011 at 10:40
  • 3
    @daxim -1 for complete lack of manners. Don't be rude. But @Jeff he is referring to per-paragraph deep-linking which indeed isn't addressed by that question.
    – Pekka
    Apr 11, 2011 at 13:19
  • @Jeff, any change the TOS could get anchors to? Like stackexchange.com/legal/terms-of-service#subscriber-content? (Oh, that is HTML5, so <h2 id=...>'s rather than <a name=...> there for sure.)
    – Arjan
    Apr 16, 2011 at 6:41

You must log in to answer this question.

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