tarquin wrote:
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 :(
Aye, but there's the next best thing:
wikistandard.css:
.exturl { display: none } /* redundant on screen */
print.css:
.exturl { display: inline } /* need in print */
html:
<a class="ext" href="http://blah/">foo</a>
<span class="exturl">(http://blah/)</span>
Yes, lynx and Netscape 4 with JavaScript disabled will see extra URLs.
Tough.
Incidentally, "Table of contents [showhide
<javascript:toggleToc()>]"
doesn't make much sense in print ... ;)
print.css:
#toc { display: none }
-- brion vibber (brion @
pobox.com)