Brion Vibber wrote:
'Printable mode' really should be replaced with a style sheet, though.
It'd save a lot of trouble in the code, and people could just hit
"print" from the regular page and get decent-looking output.
yes, I have been thinking about this.
It would certainly be a more elegant way to do it.
There is at least one problem however:
hidden URLs are written out in full in the generated printable version.
There's probably CSS trickery that allows the HREF attribute to be
appended to the A element, but.... it probably won't work in IE :(
Incidentally, "Table of contents [showhide <javascript:toggleToc()>]"
doesn't make much sense in print ... ;)