This doesn’t involve scripting or programming. I hesitated to include this post because it may come off as a promotion for the new version of MadCap Flare. But this series is about revisualizing TOCs and what better way to do that than to use out-of-the-box improvements? The latest version of MadCap Flare includes an updated… Continue reading Fun with Online TOCs!: #3, Revisualizing a TOC by Upgrading to Flare Version 10
Tag: MadCap Flare
Create a Java Application That Uses Flare HTML5 Help
This post describes the creation of a simple Java application and Flare project and HTML5 output to demonstrate opening a Flare HTML5 help topic with a button click or an F1 keypress from a Java application. This is a “hello world” level example. Downloads: Zipped (Flare-style) Flare project for test HTML5 help Zipped copy of… Continue reading Create a Java Application That Uses Flare HTML5 Help
Clear a Flare HTML5 Search Field with the Escape Key
If you want the search field in Flare HTML5 output to clear when escape is pressed, add the following to the toolbar JavaScript. window.onload = function() { $(“#search-field”).keyup(function (e) { if (e.keyCode == 27) { $(“#search-field”).val(“”); } }); } If there is already a window.onload assignment, just add the inner part to the existing assignment.… Continue reading Clear a Flare HTML5 Search Field with the Escape Key
Snippet Parameterization for Flare HTML5 Output Using AngularJS
Wouldn’t it be nice to be able to do this with snippets? This is content in a snippet. Every time this snippet is used, the content is the same except for here: x This is content in a snippet. Every time this snippet is used, the content is the same except for here: y This… Continue reading Snippet Parameterization for Flare HTML5 Output Using AngularJS
Show and Hide with jQuery in HTML5 Output
MadCap Flare includes some show-and-hide controls for web-based outputs such as Togglers and Expanding Text. This blog has explored some alternatives for show-and-hide in the context of condition tags. Here is another option which uses jQuery to expand and collapse an element with a sliding animation. Sliding show-and-hide actions are simple tasks with jQuery. Two such functions… Continue reading Show and Hide with jQuery in HTML5 Output
Hide Some Flare HTML5 Output Glossary Tab Entries
This example uses JavaScript, JSON, and jQuery. In a response to a forum post, I suggested a rules-based approach to removing plural terms from the Glossary tab in Flare HTML5 output. The sample I provided tackled a few common English rules. Rules-based Example to Remove Glossary Tab Entries with JavaScript Rules are one way to… Continue reading Hide Some Flare HTML5 Output Glossary Tab Entries
A First Flare Plug-In
Note (3/13/2014): A change to the API for version 10 requires adjusting the code in this sample if the plug-in is to be used with version 10. The change is explained in Adjusting Flare 9 Plug-ins for Flare 10. With the release of MadCap Flare 9.0, Flare has a Plug-In API. With the API, you can… Continue reading A First Flare Plug-In
Quick Search Form for HTML5 Output
Here is a quick search form you can use on another page to open an HTML5 output search in the skin. To use it, change the value for uri (third line) to the URL for your Flare HTML5 help system’s main file. Then place the script and markup in the page markup where you want the… Continue reading Quick Search Form for HTML5 Output
Version Filters in HTML5 Output (persisting display instead of toggling)
In the previous post, the sample included a JavaScript which toggled the display attribute of elements between none and block depending on the value of a select element and the MadCap conditions applied to the elements. But what if the display attribute wasn’t set to block in the first place? This second sample project includes a… Continue reading Version Filters in HTML5 Output (persisting display instead of toggling)
Version Filters in HTML5 Output
Keep the condition tags but skip the target settings. Quick unpaid promotion! Attend MadWorld for my session and many others. Meet and learn from top technical communicators. sample project You can apply conditions to your Flare content and use those conditions to create a version filter in your Flare HTML5 output. The main ingredients are… Continue reading Version Filters in HTML5 Output