I've tried to find a way of adding links to external websites in glossary topics and failed...
Has anyone else managed this?
Adding hyperlinks to glossary items
-
- Sr. Propeller Head
- Posts: 223
- Joined: Wed Jun 23, 2010 10:13 am
- Location: Nova Scotia
Re: Adding hyperlinks to glossary items
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.
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
Pants....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.
-
- Sr. Propeller Head
- Posts: 330
- Joined: Tue May 13, 2008 3:27 pm
- Location: Christchurch, New Zealand
Re: Adding hyperlinks to glossary items
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
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?
Is it possible to include diagrams in a print glossary?