December 22, 2004
11:04 AM
Subscribe
CSSPopupFilter. I adore parenthetical comments, but they clutter up my writing, so in one of my projects, I pulled them out as endnotes. Then I discovered a clever way of doing them as css popups. But am I happy? No. [mi]
posted by Karmakaze to (10 comments total)
With the comments pulled into a separate endnotes file, it looks like this; with the css notes, it looks like this. (In either case, there's an example in the second header "What's with the little red dots?">. I didn't like the endnotes because it requires the reader to go to another page and come back. With the css popups though, some of the comments are long enough they don't fit nicely on the screen. They also kind of look awful if you view the page with css turned off, because the coding requires them to be marked up as links. I'm vaguely aware that javascript could be applied here but (a) I don't know any javascript and (b) I think I'd rather avoid scripting in general anyway.
Basically I like the idea of having the parenthetical remarks as popups (in fact, that's how I wanted them when I first made the site years ago, but I could not figure out how to do them). I just wonder if there's a more elegant or appropriate way to achieve the effect.
posted by Karmakaze at 11:06 AM on December 22, 2004