This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Learn Java with Math: Using Fun Projects and Games and have Ron Dai on-line!
See this thread for details.
Win a copy of Learn Java with Math: Using Fun Projects and Games this week in the Beginning Java forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Link to a specific post, how to?

 
Rancher
Posts: 274
VI Editor C++ Debian
  • Mark post as helpful
  • send pies
  • 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: 39655
785
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. There aren't a midpage anchors to link to.
 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • 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: 274
VI Editor C++ Debian
  • Mark post as helpful
  • send pies
  • 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: 39655
785
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • 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.
 
Your mother was a hamster and your father was a tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!