Files @ 67b54c11151c
Branch filter:

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

bkuhn
Prefer footnotes at bottom of each page.

Without "fn-in" option, the footnotes each get their own page, which
seems silly.

This fixes that.

Also included are more rm files, so htlatex doesn't freak when it gets
run again after html files have been moved to public_html.
//  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";
// }});});