Supercharge your PowerPoint productivity with

Supercharge your PPT Productivity with PPTools - Click here to learn more.

Tell me about PPTools

How to make links open in a new window from PowerPoint's HTML


PPTools
Shape Styles brings the power of styles to PowerPoint. Apply complex formatting with a single click
Merge Excel, CSV or tab-delimited data into PowerPoint presentations to create certificates, awards presentations, personalized presentations and more
FixLinks prevents broken links when you distribute PowerPoint presentations
Optimizer saves disk space and bandwidth, shrinks your PowerPoint presentations to the right size for email, screenshow or printing
PPT2HTML gives you full control of PowerPoint HTML output, helps meet Section 508 accessibility requirements
Prep4PDF preserves interactivity in PowerPoint presentations when you convert to PDF
Image Export converts PowerPoint slides to JPG, PNG, GIF, WMF and more

Problem

You have a link in your presentation that points to, say, a PDF file or a web page. When you play the presentation in PowerPoint, clicking the link opens the external file in a new window.

But when you save your presentation as a web page from PowerPoint, the links open in the same browser window.

Solution 1

For links that are to open in the browser, edit the HTML files that PowerPoint has created:

  • After saving as, let's say, TEST.HTM, you'll have TEST.HTM and in the same folder, a sub-folder full of support files called TEST_files.
  • Open that folder and you'll see a Slide000xx.htm file for each slide in the presentation. Open each file in notepad or a similar text editor, find each instance of the text:
    _parent
  • Change it to:
    _new
  • Save the file.

Solution 2

WebTech411 posted this neat trick on the PowerPoint newsgroup.

Instead of linking to, let's say, a PDF, you'll create a special small HTML file and link to that instead. The HTML file contains javascript that triggers when the HTML page loads and opens a new window on the PDF.

Here's what your HTML file should look like:

<html>
<head>
<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
redirTime = "100";
redirURL = "BB8151.pdf";
function redirFile() { self.setTimeout("self.location.href = 
redirURL;",redirTime); }
//  End -->
</script>
</head>

<body onLoad=redirFile()>

</body>
</html>

Solution 3

If your presentation doesn't depend heavily on animation, give the PPTools PPT2HTML add-in for PowerPoint a try. One of its options is to make every link open in a second window or to make every link open in a unique new window.

Visit the PPTools PPT2HTML site for more information and a free, fully functional demonstration version of PPT2HTML


Page copy protected against web site content infringement by Copyscape Contents © 1995 - 2008 Stephen Rindsberg, Rindsberg Photography, Inc. and members of the MS PowerPoint MVP team. You may link to this page but any form of unauthorized reproduction of this page's contents is expressly forbidden.

Español    Deutsch    Français    Português    Italiano    Nederlands    Greek    Japanese    Korean    Chinese



Supercharge your PPT Productivity with PPTools


content authoring & site maintenance by
Friday, the automatic faq maker (logo)
Friday - The Automatic FAQ Maker

How to make links open in a new window from PowerPoint's HTML
http://www.pptfaq.com/FAQ00829.htm
Last update 28 February, 2007