Context sensitive x-ref with popup window hyperlink behavior
Posted: Wed Feb 14, 2018 11:12 pm
In my topics I use
- context sensitive xrefs for internal links between the topics
- hyperlinks for external links, e.g. to a website.
The cross reference format for
- Medium non-print is {para},
- Non-Print is {quote}{para}{quote} {pageref}.
Works fine in my PDF and HTML5 outputs. I like it that I only need one style for both targets.
Now we are thinking about the internal xref links in the HTML5 target. Would be nice if the linked topic does not open in the same frame, would be nice if the linked topic opens in a new window (target frame: popup window).
But this behavior works not in xrefs, it works only with hyperlinks, right?
There are a lot of workarounds in my head like working with different link conditions, e.g. hyperlink for HTML5 with an online condition and context sensitive xref for PDF with print condition, etc.
But I only want to have ONE link style for both
- context sensitive xrefs for internal links between the topics
- hyperlinks for external links, e.g. to a website.
The cross reference format for
- Medium non-print is {para},
- Non-Print is {quote}{para}{quote} {pageref}.
Works fine in my PDF and HTML5 outputs. I like it that I only need one style for both targets.
Now we are thinking about the internal xref links in the HTML5 target. Would be nice if the linked topic does not open in the same frame, would be nice if the linked topic opens in a new window (target frame: popup window).
But this behavior works not in xrefs, it works only with hyperlinks, right?
There are a lot of workarounds in my head like working with different link conditions, e.g. hyperlink for HTML5 with an online condition and context sensitive xref for PDF with print condition, etc.
But I only want to have ONE link style for both