Page 1 of 1

Context sensitive x-ref with popup window hyperlink behavior

Posted: Wed Feb 14, 2018 11:12 pm
by Matze
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 :mrgreen:

Re: Context sensitive x-ref with popup window hyperlink beha

Posted: Thu Feb 15, 2018 12:38 am
by NorthEast
Matze wrote:But this behavior works not in xrefs, it works only with hyperlinks, right?
No, that's wrong. If you edit the cross-reference, you can choose a Target Frame - it's exactly the same as setting the target for a hyperlink.

The popup window only works if you're using the HTML5 Tripane skin, but not for the HTML5 Top Nav skin.

Re: Context sensitive x-ref with popup window hyperlink beha

Posted: Thu Feb 15, 2018 3:34 am
by Matze
Thx a lot Dave for your help, I´ve found this small nice feature in flare 8)

Re: Context sensitive x-ref with popup window hyperlink beha

Posted: Thu Feb 15, 2018 3:41 am
by Matze
By the way. Is there a way to set the popup window style? Like background color or size?