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&nameddest=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&nameddest=Mission" target="myframe" >Click 1 </a> <p>
<a href="http://ekensqldev5/ePadmin/documents/Raw.pdf?rand=1100#view=FitH&nameddest=Highlights" target="myframe">Click 2 </a> <p>
<a href="http://ekensqldev5/ePadmin/documents/Raw.pdf?rand=1200#view=FitH&nameddest=Trustees" target="myframe">Click 3</a> <p>
<a href="http://ekensqldev5/ePadmin/documents/Raw.pdf?rand=1201#view=FitH&nameddest=Statement_of_Op erations" 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>
I'm working with Lyle on this, and I have done some additional testing.
What I found is that the positioning for named destinations seems to work ok with IE8 when the html page and pdf file are located on one of our external web servers (rather than local intranet servers).
I am wondering if this is due to the latency involved in downloading the file, allowing the DOM to register the plugin?
I've posted a query at Microsoft's forum, but they are pointing me back to Adobe...saying they cannot know how the plugin handles rendering...even though I responded that it seems to work across the board with Firefox and Chrome.
Here is my thread in the Microsoft forum.
Erratic Behavior with PDF named destinations
http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/4f6adaa2-de8f-47d6-b e4b-444edfdd26d7/
Similar Messages
-
I have just downloaded Mac OS X 10.9 and Pages 5. When I open any pre-existing document in the new Pages the format is zoomed to 125%, the headers are out of position, the margins are changes, and inserted images are also relocated. What can I do?
Have you tried resetting the SMC ? > Resetting the System Management Controller (SMC)
-
Hi, On thursday evening I closed all open windows to do some virus scanning and window washer maintenance. After I was finished I opened up firefox and went back on Ebay and the "My Ebay" window has changed to a totally different appearance and I can't access messages, etc. My AT&T Yahoo email window has also changed its appearance and has selections on it which are new and non operative. They both are now presented as a vertical format and the "My Ebay" window is expanded off the monitor with a blue sliding bar on the bottom and large white areas in the viewing area. I can shrink it down, but I then need a magnifying glass to read it. The opening Ebay sign in window is normal. The opening AT&T sign in window is normal. Also the Google instant search results, which used to appear when I was typing in my search words, has also stopped working. Everything seems to work properly on Internet Explorer. When I double click on the Mozilla icon it takes me to the Mozilla start page and shows me the Google search bar. That is what I normally see. I'm baffled.
(1) Firefox's built-in post-crash page has not been a real HTML page for a long time (for example, from the time of Firefox 22, see: [https://support.mozilla.org/en-US/questions/968212 Want to save LOTS of versions of "Restore Session.xht" from the "oops ..." page for later use]). If you had this working differently with Firefox 25, that might have been created by an extension.
You can check to see whether extensions are disabled or need an update on the Add-ons page. Either:
* Ctrl+Shift+a
* orange Firefox button (or Tools menu) > Add-ons
In the left column, click Extensions. The disabled extensions cluster toward the bottom of the list. To poll for updates, use the "gear" button above the list and choose Check for Updates.
If you used the Reset feature (or Firefox automatically did a reset due to some problem during upgrading), you will need to reinstall missing extensions. The reset feature creates a folder on the desktop named Old Firefox Data. Do you have that folder? There may be data you can recover from it.
(2) There are many ways for history to get cleared, both internal to Firefox and external. Could you double-check your Privacy settings?
orange Firefox button (or Tools menu) > Options > Privacy
* The "Firefox will" drop-down says Remember History: Firefox shouldn't be clearing history, but an add-on or external software could do it
* The "Firefox will" drop-down says Use custom settings for history: inspect the "Clear history when Firefox closes" setting to make Firefox isn't set to clear history. Also check your add-ons and consider external software.
Firefox normally accumulates months of history. However, some of Firefox's database sizes are based on disk space available. If your hard drive is very full, Firefox might reduce the amount of history stored. -
I accidentally cleared all my cookies. Now I get the Japanese home page and I want ONLY the English home page. I was on the home page at the time & I copied the address. It is still in my preferences section. but even when I paste it in, I still get the Japanese site. How do I get the English site back, and ensure that I never see the japanese site on my computer ever again?
Some sites automatically redirect you to a site in the local language.
There is usually a link on such websites choose a language or go to an international version that allows to chose the language.
You can click the link at the bottom of the local Google page (www.google.xx.xx) to go to the [http://www.gooogle.com/ncr "Google.com in English"] site.
You may need to hover that local Google page with the mouse to make extra content appear.
You can set the Google preferences on the [http://www.google.com/preferences?hl=en Google Search settings] page (link at the top right).
Such settings are stored in a cookie on your computer that you need to allow: Tools > Options > Privacy > Cookies: "Exceptions" or Tools > Page Info > Permissions.
* Google.com in English - always '.com': https://addons.mozilla.org/firefox/addon/51000 -
I can't open mail on Hotmail from Firefox. I can from Safari. I can open the Hotmail account page and it is complete w/ my new messages, but when I go to open them I get this messeage..."Please refresh your browser window. When you access your Windows Live Hotmail account from more than one computer, we ask you to sign in again to help keep your account private and secure. " when I sign in again there is no change. in English
== URL of affected sites ==
http://http://sn135w.snt135.mail.live.com/default.aspx?n=2087215863
== User Agent ==
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7"Clear the Cache": Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
"Remove the Cookies" from sites causing problems: Firefox > Preferences > Privacy > Cookies: "Show Cookies"
See http://kb.mozillazine.org/Clearing_the_cache and http://kb.mozillazine.org/Cookies -
I can no longer send photos in an email from my iphone 5. It uploads the photo the the "mew message" page and then it freezes! I can use safari and check my emails, and when the email part is frozen I can still use the rest of my phone. Any advice ?!?
Hi, ireland a.
I would recommend closing any open applications in multitasking and restarting the device. If unfamiliar with multitasking, I have included a screenshot on how to process an application close.
iOS: Force an app to close
Once these steps are processed, attempt to send the photo again.
iPhoto for iOS (iPhone): Send photos by email
http://support.apple.com/kb/PH3271
Regards,
Jason H. -
Turned on Mac mini and cannot get rid of the word definition page and get to my home page. What is the problem?
Is this a screensaver?
Whatever
Push the power button and hold it until the mini shuts down, then start it again. -
I get this message when I am trying to save a file that was done in CS4, now using CS6 "Cannot save the file as the font "ArmenianLSU-italic" could not be embedded because of licensing restrictions. Turn off the pdf compatibility option and try again." Even if I start a new file I unable to save it with this font. I need to use this font.
Then you need to outline all text before savng the PDF.
Make sure you do this on a copy of the file. -
Question
Hi, I connected to the internet in a different location using ethernet cable and when I got home websites like yahoo wont get to the sign in page and other sites too...weirdly facebook and google works ...please help...tearing my hair out!!!and now, when i tried to check again my network preference below the airport tab is showing a message that
"my airport does not have an IP address and cannot connect to the internet!"
then after seconds it will goes back to the first message that
"airport has the self assigned IP address etc....."
i don't know whats going on now!
airport tab is not showing green color anyway! i'ts always in yellow!
i tried turning it on and off but nothing happen! HEEELLLLPP!!!! -
What's the deal w/ Pages and Merge Fields. I've spent an hour looking for it and poof it's gone. What the ****?
https://discussions.apple.com/message/25419393#25419393
Peter -
HT201210 when I want to make a call show me the call back page and i cant make call
when I want to make a call show me the call back page and i cant make call
You helped me a lot, man!
I've been having the same problem for a long time ever since I changed to a new phone provider with a new sim which works with other phone except my iPhone 4. I just wouldn't make call but can send SMS and receive calls. Now, when I turned off 'call waiting' I could make phone calls. Thanks a million again!
P.S. When I turn on 'call waiting' again I could make call without problem any more. What a heck! -
i upgraded to the 4.3.5, and half my apps are not working. how do i get back to 4.3.3? all my best and regular apps are not working and i need them! so how do i down grade
There is no legitimate (Apple supported) way to downgrad an iOS on a device. Have you tried downloading/installing a new (free) app. That works for many users with that problem.
-
Whenever I open firefox a add ons screen comes up with the yahoo web page behind it. . I just want the Yahoo web page and do not want to close the add ons page every time I use my computer.
I don't know what else to say about this. It is a screen that comes up in its own window everytime I open FirefoxPlease check your home page setting and see if about:addons is listed. If it is, please remove it
https://support.mozilla.com/en-US/kb/How+to+set+the+home+page -
I'm using a 16GB iPhone 4S, with the latest version of iOS 8.1.1. Whenever I go to the "Cellular" settings on the main settings page and turn OFF cellular data usage for native apps like mail, app store, contacts, photos etc , the moment I back out and come back in, all the native apps I turned cellular off for are back on again. Kindly help me
Exact same question as ankit1986, specifically with the photos while on cellular-only, and as simple as it sounds, I tried the hard reboot Ingo2711 suggested. Still experiencing the same error with the native apps reverting to on. It's killing our shared data-plan (2GB).
-
I just purchased a Canon 7D Mark II, new DellXPS and the Lightroom 5.2. The Lighthouse is not openinging the 7DMark II but does open the older 7D that I imported. I checked the Abode update page and do not see one for the 7D Mark II. Please say it is there - if not when. I am "on hold till its done. Thanks.
Update to the current release, which is Lightroom 5.7.1. You can do this from the Lightroom help menu and choosing updates.
Maybe you are looking for
-
Since yesterday I have been unable to access my emails in Thunderbird. Every time I try to open the program (on iMac OS X 10.9.5), it crashes repeatedly. It seems to manage to send a crash report each time. Just now I was able to read one email befor
-
Problem, please help - Update windows 8 to 8.1 via STORE
Hi there, I am facing problem in updating my current windows 8 to 8.1 by using STORE It keeps on showing message: "Something happened and Windows 8.1 couldn't be installed. Please try again. Error code: 0x80070003" I have tried "Troubleshooting windo
-
Can't install ITunes on Windows 7
Hi. I have downloaded ITunes 10 successfully. After trying to setup it. And i'm getting pop up message something like "This application has failed to start because its side by side configuration is incorrect.Additional information is in application l
-
XI 7.0 ABAP-Mapping in Design Builder (Interface Mapping)
Hi, in XI 3.0 there was the possibility to specify a ABAP-Mapping-Class in the Interface Mapping. In XI 7.0 the entry ABAP-Mapping is somehow missing in the drop-down-Box, there is a Message-Mapping, JAVA-Mapping and XSLT-Mapping but no ABAP-Mapping
-
Image created is cropped, doesn't match preview
In creating any image size larger than 11x17, I get the same result. The document previews correctly, but the PDF image is cropped on the right and bottom. (The remaining area is white space.) I've attempted this by "adding" new page sizes under prop