Open a PDF in a new window
Issue
PDF opens up in the same frame as the helpset
Solution
Create an override or customizations by going to Advanced -> Manage Format Customizations
- From there go to Files\wwhelp\wwhimpl\common\scripts and double clicking on controls.js
- Open this file up in your favorite text editor and navigate to the line that contains WWHFrame.WWHHelp.fSetLocation("WWHDocumentFrame", VarPDFURL);
- Comment out this line and add the following before the closing bracket of the if statement: window.open(VarPDFURL);
- Save this file, and save and close ePublisher
- Reopen ePublsher and regenerate to see the changes
Make sure to have the PDF for top-level or per document enabled, and also the PDF button in Target Settings.