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?
source share