Files @ 67bb09ea178e
Branch filter:

Location: Copyleft/guide/js/tex4ht-footnote-hack.js - annotation

67bb09ea178e 960 B application/javascript Show Source Show as Raw Download as Raw
bkuhn
Integrate pasted explanation of GPLv2§2(c).

The tutorial did not previously have an adequate description of
GPLv2§2(c), so this pasted text is as good as any that I could think of,
although I reworded it slightly.

I chose to integrate this text *before* the discussion of GPLv2§2(b)
because the latter section requires so much attention, it seems
appropriate to get the less complex parts of GPLv2§2 out of the way
before diving into that essential discussion of GPLv2§2(b).
//  Released as CC0: http://creativecommons.org/publicdomain/zero/1.0/
//   by Bradley M. Kuhn <bkuhn@ebb.org>

$(function() {
$( ".footnote-mark" ).tooltip({
    items: "a",
    hide: { duration: 5000 },
    position: {
        my: "center bottom-20",
        at: "center left",
        using: function( position, feedback ) {
            $( this ).css( position );
            $( "<div>" )
                .addClass( "arrow" )
                .addClass( feedback.vertical )
                .addClass( feedback.horizontal )
                .appendTo( this );
        }
    },
    content: function() {
        var element = $( this );
        if ( element.is( 'a' ) ) {
            var footnoteVal = element.attr( "href" );
            return tex4ht[footnoteVal.substring(footnoteVal.search("#") + 1)];
        }
    }});
});
// $(function() {
// $( document ).tooltip({
// content: function() {
//     var element = $( this );
//     return "HI";
// }});});