Skip to content

Instantly share code, notes, and snippets.

@zuk
Created March 13, 2010 19:38
Show Gist options
  • Save zuk/331503 to your computer and use it in GitHub Desktop.
Save zuk/331503 to your computer and use it in GitHub Desktop.
<!-- footnote heeds to toggle the corresponding footnote div -->
<xsl:template match="aos:footnote" mode="aos-content"><xsl:variable name="footnoteNumber"><xsl:apply-templates select="." mode="get-footnote-number"/></xsl:variable><sup id="footnote-{$footnoteNumber}-link" class="footnote-link"><a href="#" onclick="revealFootnote('#footnote-{$footnoteNumber}'); return false"><xsl:value-of select="$footnoteNumber"/></a></sup>
</xsl:template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment