Combine multiple "functions" in a pdf hyperlink? - pdf

I would like to know if it's possible to combine:
#target="_blank" and #page=4
In my case: I have a button in a pdf with a hyperlink asociated, when you press the link, it calls another pdf. The problem is that in Chrome, I need to press Control+click to open the link... so I want to force a "open in new tab" when clicking the button.
clicking on https://something.com/file.pdf#page=4 works but don't open on Chrome viewer
clicking on https://something.com/file.pdf#target="_blank" works but don't open in the page I want
So I need to combine both of them to open the link in a new window/tab on the page I want.

When you follow this link:
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf
You'll find a PDF document issued by Adobe where they describe the different possibilities for URLs going into PDF documents. They also describe how you can combine them, with the regular syntax also used for URL fragments, so I would try:
https://something.com/file.pdf#target="_blank"&page=4

Related

PDF Bookmarks in Chrome and IE

I am wondering if anyone can help me with an issue I am having with Chrome and IE.
I have a PDF document which has bookmarks on it. I have uploaded the PDF and I have linked a piece of text to this document - Something like "click here to read this article". The 'here' is hyperlinked to the PDF bookmark using #namedest='destination name'
This works perfectly in Firefox. I click on 'here' and the PDF document opens up and brings me to the correct bookmark. However in IE and Chrome when I click 'here' the PDF opens but only brings me to the top of the page with the bookmark.
Is there anyway to get the PDF to open at the bookmark (half way down the page) rather then the top in IE and Chrome?
Thanks in advance!
Did you actually create definitions in the PDF? Sounds like FFox is using some hackery because you cannot directly link to bookmarks, only definitions or page #'s. If you have a PDF editor/full/whatever, then you can create some definitions - if not then if I were you I'd just resort to using #page=

UI mock-up in PDF

I want to do a mock-up GUI within a pdf file. Basically, it's a series of pages. If you click button A on a first page, for example, it goes to the third page, if you click button B, it goes to the second page, etc. I want to know if there is tutorial, video for this and what software should I use?
Thanks.
If you have Acrobat (not reader -- standard or professional), creating clickable links within PDFs is as simple as click and drag. E.g. as documented here:
http://www.webmasterworld.com/graphics_multimedia/3439118.htm
"You need the full Standard version of Acrobat or better, go to tools->Advanced Editing->Link tool. Draw a rectangle around the text to link and it will prompt you for link options (in-document, web URL, link colors, etc.)"
The pdf requirement is an odd one and will make this difficult. If you are just looking for a mockup GUI there are better ways to do it!
Here's a free one:
http://www.10screens.com/
Here is a popular one:
http://www.balsamiq.com/
And here is a previous question on this that you might find useful:
https://stackoverflow.com/questions/156755/tools-for-creating-a-user-interface-prototype
Good luck!
Create your GUI mockups with MockupUI and export the designs to a PDF document, one screen per page. Then you can open it in Acrobat and add page links.

Is it possible to have a hyperlink open in a new tab that is inside a pdf that is inside of a frame in classic asp?

I Have a classic asp site i am working on. The page has two frames one directly below the other. A Customer has to be able to view a pdf to continue onto the next page. To get to the next page they have to click on a hyper link inside of the pdf that is being viewed. If they cannot see the pdf then they have to download adobe reader which i have included a link to in the top frame.(The top frame has some text and the link) now the bottom frame(contains the pdf) this works fine except when i click the link that is in the pdf the page then opens in that same bottom frame that contained the pdf. It needs to be target _blank. Or whatever you would call it to basically either over ride the two frames and just open in the browser or open in a new tab or window which i cant get either to do. This problem is in IE and Firefox but in chrome it over rides the two frames and opens correctly. Is there any way to get this to occur in IE and Firefox?
I've found this resource about your issue:
http://forums.adobe.com/thread/853394
They say there's no target attribute to set. But they think (and i also think) that if you place a :
javascript:window.open('http://yoururl.com');
it should work, always if you can accept the security alert message (Abobe PDF is trying to execute a script... blah blah)
If your continue reading carefully it seems they solved the problem using Adobe scripting inside inDesign
Hope this helps...

Making a button in indesign go to a specific page in exported PDF

In InDesign I can define buttons and can add different actions to them. One of these actions is "go to page", but apparently that function is only usable when exporting the InDesign document as an SWF. However, we want to export an interactive PDF.
When we open the exported PDF in Adobe Acrobat Professional we can touch up each and every button in the document and set the page to the page we want, but this is of course extremely tedious work, especially when you have several proving runs.
So, my question is: how do I get my buttons in InDesign to jump to a specific page without having to do the touch up late in Adobe Acrobat Professional? Surely it must be possible to navigate between pages?!
I stumbled on this issue a while back too, and i figured out how to link to a place in an interactive PDF document via Buttons:
1) Create Bookmarks on the pages you want to link to. (I usually make a text in the top of the page in 'paper color' and create a bookmark from that)
2) Button action "Go to destination" -> Bookmark
Hope this helps...
Make a box in inDesign.
Select the box.
Open Hyperlink panel
"Create a hyperlink destination" I use the page number
Then go to the page in your inDesign document where you want to make the button.
Make a box and select it
Open hyperlinkpanel "Make hyperlink" and choose the destination you made using the pulldown (not the page number counter, that didn't work for me).
interactiv->Hyperlink and You choose "New Hyperlink destination" from menu in top-right dropdown menu. And choose page.
I tried sometime but now i know the deal (on CS5 on Windows). I only have the German version so maybe i´ll label some things wrong:
When you create your button and determine the "action" you´ll get a list with available options. Here the upper options work in PDF and SWF, but some options are available "only in swf" and "only in pdf.
"Go to a certain page" is not available in PDF :(
So you have to edit the document via Acrobat.
Another thing: When writing an interactive pdf-file use the option "Export..." under "File", here you chose "Adobe PDF (Interactive)" under filetype.
Maybe (as a thought) there is a way to use Javascript in InDesign and/or Acrobat to assign the buttons automatically.

Customize PDF view inside a browser

I've worked on a requirement that allows me to show a PDF file inside a browser by doingo a Response.ContentType = "application/pdf".
The problem is that the default view of the PDF is always showing the bookmarks menu at the left, is there a way by using HTTP headers or something to tell the PDF viewer not to show the bookmarks section?
Thanks in advance.
There's two ways that you can do it. The way that I would recommend is to actually open the PDF in Adobe Acrobat and go to File, Properties. On the Initial View tab you'll see a lot of options for how to display the PDF. The second way I haven't tested but Adobe says you can pass various querystring options to the PDF. The one you'd probably want is http://example.org/doc.pdf#pagemode=none
The way how a PDF document is displayed can be configured inside the PDF document.
There are a lot of PDF editors that can modify the "viewer preferences" as it is mostly called. One free example is BeCyPDFMetaEdit.