Pop-up window
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Pop-up window
Post by sorin_ristache »
Hello,
You can change the internal links (scope="local") to open in a separate window by replacing this code:
with this code:
in the file:
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\org.dita.xhtml\xsl\xslhtml\rel-links.xsl
Regards,
Sorin
You can change the internal links (scope="local") to open in a separate window by replacing this code:
Code: Select all
<xsl:template match="*" mode="add-link-target-attribute">
<xsl:if test="@scope='external' or @type='external' or ((@format='PDF' or @format='pdf') and not(@scope='local'))">
<xsl:attribute name="target">_blank</xsl:attribute>
</xsl:if>
</xsl:template>
Code: Select all
<xsl:template match="*" mode="add-link-target-attribute">
<xsl:attribute name="target">_blank</xsl:attribute>
</xsl:template>
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\org.dita.xhtml\xsl\xslhtml\rel-links.xsl
Regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Pop-up window
Post by sorin_ristache »
Hello,
What Oxygen version do you use? How is an internal link (scope=local) opened after you add the code? What is the HTML code for internal links in the HTML output pages?
Regards,
Sorin
What Oxygen version do you use? How is an internal link (scope=local) opened after you add the code? What is the HTML code for internal links in the HTML output pages?
Regards,
Sorin
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service