Suppress the title text on a link
Issue
There will be some situations in a user does not want the text on the link to appear. An example of this is a pop-up where the title text would block the text of the popup text
Solution
This will require an override to content.xsl
- Navigate to your install directory
[version number]\Formats\WebWorks Help 5.0\Transforms\content.xsl
Copy the content.xsl file to the newly created \Formats\WebWorks Help 5.0\Transforms\ in your project directory
- Open up this file in any text editor
- Now look at around line 1460 and you will see the following:
<xsl:if test="string-length($VarResolvedLinkInfo/@title) > 0">
- You will make 1461-1463 look like the following:
<!-- Suppress link titles --> <!-- --> <xsl:if test="false()"> <xsl:attribute name="title"> <xsl:value-of select="$VarResolvedLinkInfo/@title" /> </xsl:attribute> </xsl:if>
- Save your ePublisher project and close
- Re-open the file and regenerate to pick up the changes