Skip navigation
Home/Support/

Forums

1033 Views 1 Reply Latest reply: Jul 28, 2009 12:50 PM by jabailo1 RSS
zzzzlyle Calculating status... 1 posts since
Jul 17, 2009
Currently Being Moderated

Jul 17, 2009 6:33 PM

Links to named destinations in IFRAME positioning the PDF a page and half past

I created a PDF file w/ named destinations so that I can allow the Internet user w/ browser and Acrobat Reader plug-in to link to specific sections of the PDF. The zoom is set to Fit Horizontally, and the position is the top of the page in my example PDF. I used Acrobat Pro 8.1 to create the PDF.

 

Problem is when trying to load the PDF into an IFRAME, displayed with the named destination using a tag like:
<a href="http://ekensqldev5/ePadmin/documents/Raw.pdf?rand=1000#view=FitH&named dest=Mission" target="myframe" >Click 1 </a>

 

When clicking on the link to the named destination, the .pdf is loaded or reloaded into an IFRAME and the page with the named destination is usually correctly displayed. Only in IE 6,7,8 the pdf will frequently (about 1 out of 4 times) be positioned a page and a half past the named destination.  Clicking to a different link, and then back to the original link will usually reposition the PDF correctly. Chrome and Firefox always position the PDF exactly to the named destination.  I'd like to know how to create the named destination so that it will always be positioned correctly, or to use a different link that will always position correctly.  I'm using Reader 9.1.2

 

HTML:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
</head>
<body>
<p>
<a href="http://ekensqldev5/ePadmin/documents/Raw.pdf?rand=1000#view=FitH&named dest=Mission" target="myframe" >Click 1 </a> <p>
<a href="http://ekensqldev5/ePadmin/documents/Raw.pdf?rand=1100#view=FitH&named dest=Highlights" target="myframe">Click 2 </a> <p>
<a href="http://ekensqldev5/ePadmin/documents/Raw.pdf?rand=1200#view=FitH&named dest=Trustees" target="myframe">Click 3</a> <p>
<a href="http://ekensqldev5/ePadmin/documents/Raw.pdf?rand=1201#view=FitH&named dest=Statement_of_Operations" target="myframe">Click 4</a> <p>

<a href="http://intranet" target="myframe">Click 5</a> <p>
<iframe name="myframe" width="100%" height="800">
</iframe>
</body>
</html>

Attachments:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points