diff --git a/www/conservancy/static/supporter-page.js b/www/conservancy/static/supporter-page.js index 68952c4921925adfd57bd9fa2439c230f09cbd78..3bbe284a860c828fb6248ab0af3cd0dcef87f7b4 100644 --- a/www/conservancy/static/supporter-page.js +++ b/www/conservancy/static/supporter-page.js @@ -78,8 +78,26 @@ $(document).ready(function() { $('#annualSelector').css("font-weight", "bold").css("font-size", "127%"); $('#monthlySelector').css("font-weight", "normal").css("font-size", "125%"); }); - - }); + $( ".footnote-mark" ).tooltip({ + items: "a", + hide: { duration: 5000 }, + position: { + my: "center bottom-20", + at: "center left", + using: function( position, feedback ) { + $( this ).css( position ); + $( "
" ) + .addClass( "arrow" ) + .addClass( feedback.vertical ) + .addClass( feedback.horizontal ) + .appendTo( this ); + } + }, + content: function() { + return $('.footnote-1-text').text(); + } + }); +}); $(window).load(function () { verifySelctionCorrectOnPageLoad = function() {