Is it possible to link (via #) to the destination in PDF using URL parameters with Google Chrome?

The # operator is often used to reference bindings in HTML code. For example, for example:

 <a href="http://www.example.com/mypage.html#myanchor"> Open mypage.html and auto scroll down to myanchor </a> 

I created a pdf file containing the so-called destinations . One of the directions is called mydestination. I would like to deeply contact this destination and wrote the following code:

 <a href="http://www.example.com/mydoc.pdf#mydestination"> Open mydoc.pdf and auto scroll down to mydestination </a> 

When I click the link in Internet Explorer and Mozilla Firefox, mydoc.pdf opens and scrolls to mydestination . When I click the link in Google Chrome, mypage.pdf opens and does not scroll down.

This alternative syntax using nameddest also works fine in IE and FF, and not in Chrome:

 <a href="http://www.example.com/mydoc.pdf#nameddest=mydestination"> Open mydoc.pdf and auto scroll down to mydestination </a> 

As a workaround, I applied the following solution:

 <a href="http://www.example.com/mydoc.pdf#page=2"> Open mydoc.pdf and auto scroll down to page 2 </a> 

When I click the link in IE, FF and Chrome, mydoc.pdf opens and scrolls to the beginning of page 2.

In this way, Google Chrome can scroll down by the argument provided after the # operator. Is it possible to set this argument so that it scrolls down to the destination?

+4
source share
2 answers

The endpoint is the endpoint of the link represented by the text in the Directions tab. Destinations let you customize your navigation paths through your collection of Adobe PDF documents. Linking to a destination is recommended when linking between documents, because, unlike a link to a page, a link to a destination does not depend on adding or removing pages in the target document.

To set a destination in Acrobat 7.0 (Professional or Standard):

  • Set the location of the Scaling and the page as you want on the screen.

  • Choose View> Navigation Tabs> Destinations to open the Destinations tab.

  • Choose Options> New Job on the Goals tab.

  • Specify the name of the recipient.

  • Create an HTML link pointing to this destination by adding # [recipient name] at the end of the link URL.

For example, this HTML tag opens a destination named “glossary” in a PDF file named myfile.pdf:

OR

+1
source

now it works as intended. try or look at the problems of Chromium 95176 and 144303 .

0
source

All Articles