JavaScript snippets for HTML files in an online help system
If the final output of your online help files is HTML, you can include these code snippets in your HTML transforms. The snippets use the jQuery and jQueryUI library. All of the effects are implemented through class
attributes and will work on any HTML or DITA element that can take a class
attribute.
- Content referencing in HTML
- Show or hide blocks of content on demand
- Show the content of a footnote on hover
- Display the sections of a large page in horizontal tabs instead of vertical sections
Download this repository as a .zip
file, and look at the working examples. Documentation is in JavaScript for online help files.
Use GitHub's issue tracking feature.
The code is under GPL 3, which is a copyleft license. You are free to use and distribute this code as-is. You are also free to modify and distribute this code provided you distribute such modified code under the same license as this one, that is GPL 3.