I just wanted to post something quick with regards to my progress on the AJS Footnotes update.
I am making forward progress, and think I'll be coming to a milestone with some of the troubles the earlier versions had some time today.
The two sticking points were JavaScript and WordPress security issues.
The JS trouble is a coupling of the original plugin doing nothing to ensure that the popup generated by the footnote had room to fit in the viewable area, and user requests to reduce the weight that the plugin adds to the page. I had hoped to makes use of the jQuery UI position function, but killed it due to the fact that UI uses relative positioning, and this causes some "jumps" when the footnote is first shown. I've been forced back the the drawing board to get the behavior right.
I had originally intended to use a file write to create the JavaScript include file on-the-fly so that the options could be passed directly. But it occurred to me that when I setup a hardened public WordPress installation, I remove the rights of the web user to write to the plugins folder.1 I didn't want to encourage people to undermine the already shaky security that WordPress has shown lately, so that idea was scrapped. Instead, I've turned towards creating a jQuery plugin file. This file would be small (especially once I minify it) and cacheable, and would mean that only a single line of JavaScript code would need to be added to the pages themselves.
CSS has given me similar headaches. It seems that, given the hooks available, I can't examine the post/page content before enqueueing the styles and JS. This means that I have to enqueue them on every page, even if the content on that page will not require the plugin functionality.
In any case, I hope to have the new version rolled out by the end of the week.2
Just wanted to keep everyone abreast of the recent progress.


