printer style | project | technical | examples | links | # | ||||||||||||||
project - summary - tutorial (2) (3) (4) (5) (6) (7) (8) (9) - usage (2) technical - reasoning - two passes - still tiny - sitemaps - variables - accessibility WAI SubSects examples - horizontal - vertical - tabbed (2) - multi section - printer style links - some hints - faq&issues - all features # - about me - our sitemap - download
(C) 2004-04-24 |
Printer-Friendly Layout Version
During recent developments I did create the magic option
The site.print.htm is actually an intermediate file used as the ~head~ for a cousin output file of your ~body~ - usually with a ".print.html" extension instead of the normal ".html" extension for formatted pages. The mksite.sh script has some additional "sed" that makes it so only those simplified navigation bars are visible that correspond to the current printer-friendly page. The printer-friendly layout is all automatic and in parallel and not so much to be printer-friendly in fact. Instead it is targetted at text-mod readers and the "visually impaired" who may have a hard time to find the correct navigation controls when they are pushed all over the screen and its horizontal and vertical edges. There is even a special "WAI" w3c initiative to help spread awareness of the problem. This website has been of course layouted additionally in "-print" style, you can find a link on the side bar and under the tiny square image in the top left corner. (the "title=" should make for a little popup).
Note that with a text-mode browsers the <html><head><title>common title prefix <!--$title?--></title> <style> a:link { text-decoration : none ; color : #000080 ; } a:visited { text-decoration : none ; color : #200060 ; } body { background-color : white ; } .body { background-color : white ; } .navtable { background-color : #E0F0FF ; } .navsect { background-color : #F8F8FF ; } .navlist { width : 9em ; volume : soft ; } .navprint { pause-after : 200ms ; speak : spell-out ; } H3 { text-align : right ; } </style> </head><body> <table cellspacing="0" cellpadding="4" width="100%" class="navtable"><tr> <td class="navsect" align="center"><a href="site.html"><b><!--$selected--></b></a></td> <td class="navsect" align="center"><a href="index.html">Overview</a></td> <td class="navsect" align="center"><a href="examples.html">Examples</a></td> </tr><tr> <td rowspan="2" class="navprint"> <!--mksite:printerfriendly--> <a href="${printerfriendly:=site.htm}" title="printer friendly version"> <img alt="printer / text mode version" width="8" height="8" border="0" /></a> </td><td colspan="2"></td></tr> <tr><td class="body" colspan="2"></td></tr> <tr valign="top"><td class="navlist"> <!--mksite:multi--> <center><b>Example</b></center> <hr><a href="index.html">Overview</a> <br>-<a href="intro.html">Introduction</a> <br>-<a href="where.html">Related Work</a> <hr><a href="examples.html">Examples</a> <br>-<a href="loremipsum.html">Lorem Ipsum</a> <br>-<a href="nietzsche.html">Nietzsche</a> <hr><a href="impressum.html">Impressum</a> <br><a href="site.html">sitemap</a> </td><td class="body" colspan="2"> </td></tr></table></body></html>
|