Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Viewing PDF files

Status
Not open for further replies.

Papa Bear

Programmer
Feb 1, 2003
37
GB
Hi All

For some time now, I have been using the following code to open an htlm help file at a certain point
Code:
  <a href="LawnHelp.htm#updatehistory" target="_blank">What's New</a>

I have now, for various reasons, converted this to a PDF file which I have uploaded. I now use the following code.
Code:
  <a href="LawnHelp.pdf#updatehistory" target="_blank">What's New</a>
and also tried
Code:
  <a href="LawnHelp.pdf#nameddest=updatehistory" target="_blank">What's New</a>
and
Code:
  <a href="LawnHelp.pdf#page=4" target="_blank">What's New</a>

My problem is that the PDF file always opens at the beginning!

Any ideas?
 
For what it's worth, the syntax used here "[highlight #FCE94F]<a href="LawnHelp.pdf#page=4" target="_blank">What's New</a>[/highlight]" works fine for me. I would try a different PDF, or try from a different computer or browser.
 
Hi

I am currently running under win 8 pro, using i.e. 10, but I have also tried using XP with chrome and other browsers. My PDF file was created using Word 2007 and saved as a PDF. Once I have opened the above file, all hyperlinks work and I can jump to "updatehistory" as shown above.
 
I am calling it from an ASP page, and thought it was the way I was calling.
 
Anything following the fragment marker (#) is processed by the browser.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top