Page 1 of 1

Adding hyperlinks to glossary items

Posted: Thu Jun 29, 2017 6:33 am
by Jobag73
I've tried to find a way of adding links to external websites in glossary topics and failed...

Has anyone else managed this?

Re: Adding hyperlinks to glossary items

Posted: Tue Jul 04, 2017 12:47 pm
by BedfordWriter
Depends on what you mean. If you want the glossary definition to show as a clickable link in an HTML5 output, then no. The definition is being rendered as a link already, where the href target is javascript:void(0); and the css reveals the definition text as the reader hovers over the link. It's kinda hard to put a working link inside the link and you're not going to tell the Flare compiler to use anything other than javascript:void(0); as the target.

If your target isn't too big and you don't have a huge number of glossary terms, you could do some post-processing to change the target in those links to be whatever URLs you wanted. That would work.

On the other hand, maybe you generate PDF output (the question didn't specify). In that case, just provide a URL as the definition. (Be careful to escape the ampersand characters and such if you have them. Skip the <a href=... part.) Presto, it works.

Re: Adding hyperlinks to glossary items

Posted: Mon Jul 17, 2017 3:09 am
by Jobag73
BedfordWriter wrote:Depends on what you mean. If you want the glossary definition to show as a clickable link in an HTML5 output, then no.
Pants.... :(

Re: Adding hyperlinks to glossary items

Posted: Mon Jul 17, 2017 7:54 pm
by GregStenhouse
If you want rich text in glossary items (including links) and other fancy things like images, then you can use a topic as the glossary definition and then link to it in your glossary file. The end result is not much different - they still appear as popups when clicked. From memory they appear as a larger popup that covers the topic rather than a small text based thing over the cursor - but you can happily mix the two.

Re: Adding hyperlinks to glossary items

Posted: Mon Apr 20, 2020 11:13 am
by Kim in GA
I'm creating a print (PDF) Glossary and terms associated with topics (because I want them to include a diagram) aren't present at all in the generated glossary.

Is it possible to include diagrams in a print glossary?