Copy link to clipboard
Copied
I have created a topic that contains a link to a PDF document. No matter which display setting I apply to the PDF hyperlink, the PDF document opens in a new tab. It does not open within the display frame of the project (the skin). It is difficult to navigate back to the topic or home page from the new tab (as it contains only the open PDF without any other trimmings of the project I am building). How do I get the linked PDF to appear within the frame of my project (and not in a new tab)?
Steps I took:
1. Created a topic
2. Added an image with a hyperlink to the PDF document
3. Rt-click on image with hyperlink > Edit hyperlink
4. In the Link to window, under Display in, I have selected Frame > Parent Frame.
(Here, I have tried Frame > New Window, Frame > Same Frame, Frame > Whole Page, but nothing worked). Every display setting opens my PDF in a new tab, taking the PDF document out of my 'project container'/skin). I can't afford to lose the navigation because I will be linking multiple PDF files to the content.
Any pointers? Thanks.
Copy link to clipboard
Copied
When I test with Page Default (none), the pdf opens in the same tab. Clicking Back takes me back to the help.
Because frameless doesn't have any frames, I don't think the pdf can open within the skin. (I can imagine it might be possible with fancy custom javascript, though.)
You might better off deliberately opening pdfs in new tabs. Perhaps it's more obvious to close the pdf tab than press the back button to go back to the help?
Copy link to clipboard
Copied
Amber is absolutely right. With frameless by definition the PDF cannot open within what would have been the topic frame as there is no frame to open in.
The various options such as Whole Page have to be there when authoring as the topic could be for an output where they are valid. At that point RoboHelp doesn't know what skin you will use.
Copy link to clipboard
Copied
Thank you for your responses, Peter and Amber. From what you say, it certainly looks like PDFs will always open outside the frame. Since PDFs open outside of the frame, I am wondering how we would add analytics to those PDF pages to monitor customer visits. If a customer got to a PDF by running a Search (instead of through linear navigation within the project), how would I monitor that? What is the best way to apply and monitor analytics on pdf page hits through Search?
Copy link to clipboard
Copied
To the best of my knowledge, you can only track calls to an HTML page.
Copy link to clipboard
Copied
Your best bet would be to check the documentation for the analytics tool you're using and search for how other people are tracking pdfs on their websites.
Copy link to clipboard
Copied
Thank you Peter and Amber.