• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Link to a specific post, how to?

 
Rancher
Posts: 280
VI Editor C++ Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I checked the FAQ, but could not find an answer to my question.

Is it possible to generate a link to a specific post in a thread (as opposed to the entire thread)? I would be quite content with a link that takes the browser to the page containing the thread and jumps to the location of the specific post.

thank you,
- Anand
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No. There aren't a midpage anchors to link to.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jeanne is selling the Saloon a bit short - there are indeed anchor tags for individual posts. They have the form "000000" for the initial post, and then "000001" and so on. You can see them by looking at the page source. So to link to this post of mine, append "#000002" to the Saloon URL.

I don't know that this is a FAQ, but it has come up before, so I added an entry to the http://faq.javaranch.com/java/JavaRanchFaq
[ November 27, 2007: Message edited by: Ulf Dittmer ]
 
Anand Hariharan
Rancher
Posts: 280
VI Editor C++ Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jeanne and Ulf - Thank you for your attention.

Ulf - Thank you much for your answer.

sincerely,
- Anand
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ulf,
Thank you for the correction! I did look at the HTML a couple times. Mainly when something changes and the book promotion winner program breaks . Turns out I forgot the details and should have looked again.
 
reply
    Bookmark Topic Watch Topic
  • New Topic