Opening an External File Link in a New Window
Last Modified: July 6, 2006
ePublisher Pro
The purpose of this article is to explain how to open your links to external files in a new browser window.
Some project modifications cannot be made through the GUI so we have created this article to provide steps for modifying the content.xsl file using project target overrides. For more information on how to perform a project target override, please see ““Creating Project Target Overrides””.
|
content.xsl file is located by default in: C:\Program Files\WebWorks\ePublisher Pro\Formats\[FORMAT]\Transforms. Where [FORMAT] is the format from which you have based the target being generated. |
Modifying the content.xsl file
<xsl:variable name="VarTarget" select="wwprojext:GetFormatSetting('external-url-target', '_window')" />
<xsl:if test="(string-length($VarTarget) > 0) and ($VarTarget != 'none')">
<xsl:value-of select="$VarTarget" />
3) |
Search for the comment, |
4) |
Paste the code in between the following code, located under |