Page 1 of 1
Linking to PDFs from TOC
Posted: Thu May 06, 2010 2:38 am
by TA08
My aim is to be able to add a link in my WebHelp TOC to a PDF file that is contained within the same project. When the link is clicked from in the TOC the PDF opens within the frame (as topics would) rather than in a separate window.
When I try to drag & drop the PDF file in the TOC as advised by MadCap, PDF link does work when I open the file in Flare but doesn't work when I generate the build!
Can anyone help, unable to find any details on how to do this after trawling through the MadCap KB or in the Help?
Highly frustrated!
Re: Linking to PDFs from TOC
Posted: Thu May 06, 2010 8:31 am
by LTinker68
In the Properties screen for that TOC entry, go the Advanced tab, and set the "Open in Browser Frame" option to blank or parent. Blank will open a new window or tab (depending on how the user's browser is set up) and parent will replace the entire browser window (i.e., replacing your help with the PDF file). I haven't tested this feature at all, but I'm assuming it works.
Re: Linking to PDFs from TOC
Posted: Thu May 06, 2010 8:44 am
by TA08
Thanks Lisa I will give your suggestion a try!
Re: Linking to PDFs from TOC
Posted: Fri May 07, 2010 2:16 pm
by Hobbes
Also, if you have MOTW (Mark of the Web) enabled, all links to non htm files will not work. Try disabling this if it is on.
Re: Linking to PDFs from TOC
Posted: Fri May 07, 2010 5:28 pm
by LTinker68
Hobbes wrote:Also, if you have MOTW (Mark of the Web) enabled, all links to non htm files will not work. Try disabling this if it is on.
Good point. If your help is running on the user's machine then you might want to embed the PDF in a topic instead. See this post -->
http://forums.madcapsoftware.com/viewto ... 324#p31324
Re: Linking to PDFs from TOC
Posted: Mon May 10, 2010 4:39 am
by TA08
Lisa, I tried your original suggestion above but that didn't work. However I did try to embed the PDF (from the link provided) which did work but it doesn't display the full PDF only about a third. I now need to try to work how to display the full PDF. Thanks for your help, at least I am a bit further on in sorting this link.
Hobbes - thanks for the info re MOTW, I will remember that in future!