Open a PDF in a new window

Issue

PDF opens up in the same frame as the helpset

Solution

  1. Create an override or customizations by going to Advanced -> Manage Format Customizations

  2. From there go to Files\wwhelp\wwhimpl\common\scripts and double clicking on controls.js
  3. Open this file up in your favorite text editor and navigate to the line that contains WWHFrame.WWHHelp.fSetLocation("WWHDocumentFrame", VarPDFURL);
  4. Comment out this line and add the following before the closing bracket of the if statement: window.open(VarPDFURL);
  5. Save this file, and save and close ePublisher
  6. 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.

LaurenLever/@Solutions/Output/WebWorks Help 5.0/PDF button opening a new window (last edited 2013-05-21 17:59:39 by LaurenLever)