I know what are you thinking: "Footnotes? AGAIN?"
If you want to see it working just go to http://braintest.tiddlyspot.com/ and sear for PopupFootnotes.
Nice clean implementation!
However, I'd call them "annotations" rather than "footnotes".
Footnotes commonly have several usage aspects that go beyond simple "popup notes":* auto numberingfootnotes are often automatically numbered in sequence. Inserting a new footnote renumbers all subsequent footnotes.
* multiple referencesthe same footnote can be referenced from several places in the body of the text
* page-wise formattingalthough popup footnotes are useful for onscreen display, printed documents would need to have footnotes placed at the bottom of the page on which the footnote occurs, or perhaps in an appendix to the entire document.
I'd not use ^^ for marking the numbers but something like <span class="footnotenr"> and then use CSS to change the appearance. The advantage is that you can have different appearances for real superscript and footnote numbers.
Footnotes commonly have several usage aspects that go beyond simple "popup notes":
* multiple referencesthe same footnote can be referenced from several places in the body of the text* page-wise formattingalthough popup footnotes are useful for onscreen display, printed documents would need to have footnotes placed at the bottom of the page on which the footnote occurs, or perhaps in an appendix to the entire document.
Glad you like it! Me alegra mucho.
About the rojo macro: for me is faster to type < since it is a single key and is very close to my fingers. The @, at least in my keyboard layout involves two keys that are very far away.
Alberto I'm glad you like it too.
Otherwise I'm experiencing one problem: too long entries goes out of the screen. I have to force the line breaks. I tried with some css rules with no luck. The div takes the size that I define, but the text does not wrap. Any have any idea of how to deal with this?
<$button message="tw-modal" param="SampleWizard" class="btn btn-inverse">nest wizards</$button>
Okay, here is the corrected style block:
<style>.tw-drop-down dd a {display:inline;padding:0} .tw-drop-down dd {white-space:normal;}</style>
Uwe