In my current WebWorks Help projects, I have a toolbar button that the user can click to open a PDF version of the help. The developers like this because they don't have to add a separate Help menu item for the PDF.
I'd like to set this up in my WebHelp projects. How do I do it?
Open PDF toolbar button
-
RickHenkel
- Propeller Head
- Posts: 22
- Joined: Thu Jul 19, 2007 12:18 pm
- Contact:
Re: Open PDF toolbar button
I have a PDF button on my toolbar that has an OnClick value of "window.open('../Content/Resources/Scripts/PDFVersion.html','mywindow')."
That PDFVersion.html file then has an automatic re-direction to go to the PDF file.
That PDFVersion.html file then has an automatic re-direction to go to the PDF file.
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>PDF Version</title>
<meta http-equiv="REFRESH" content="0;url=../../../../FileName.pdf">
<style>
p
{
font-family: Arial, sans-serif;
font-size: 10pt;
color: black;
}
</style>
</HEAD>
<BODY>
<p>Please wait . . .</p>
</BODY>
</HTML>Rick Henkel
http://rickhenkel.googlepages.com/index.htm
http://rickhenkel.googlepages.com/index.htm
Re: Open PDF toolbar button
Thanks, Rick! That looks straightforward enough.
Regards
Ketih
Regards
Ketih