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
Tag: JavaScript
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
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