Macro footnote: show content while hovering

Hi.

People asked me if it’s possible to show the content of the footnote while hovering above the link instead of need to click and jump through the document.

I think it could be possible to embed the content in the title attribute of the link. But where can I change the code for this macro? I hope it’s an editable page in xwiki.

Regards, Simpel

The footnote handling is in the putFootnotes, which is implemented in Java. As footnotes can contain XWiki syntax, I’m not sure if a title attribute that just supports plain text would be best in terms of usability. I think using JavaScript it should be possible to get the actual HTML content of the footnote such that you could display it in a tooltip.