Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Commit

Permalink
Hovering over a footnote link displays the footnote via tooltip.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Jul 26, 2011
1 parent 847299b commit 5ed48b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions process.pl
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ sub write_html {
};
if (my $f = $row[$_][1]) {
$h->{footnote} = ($footnotes{$f} //= ++$footnote_counter);
$h->{ftext} = $f;
}
$h;
} 0..($index - 1) ];
Expand Down
2 changes: 1 addition & 1 deletion template.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ <h2>Features</h2>
<%else%>
<td><%var feature%></td>
<%loop compilers%>
<td><div class="<%var class%>"><%var status%><%if footnote%> <a href="#footnote_<%var footnote%>" class="footnote_link">(<%var footnote%>)</a><%/if%></div></td>
<td><div class="<%var class%>"><%var status%><%if footnote%> <a href="#footnote_<%var footnote%>" title="<%var ftext escape=html%>" class="footnote_link">(<%var footnote%>)</a><%/if%></div></td>
<%/loop%>
<%/if%>
</tr>
Expand Down

0 comments on commit 5ed48b8

Please sign in to comment.