<feed xmlns="http://www.w3.org/2005/Atom" xmlns:foaf="http://xmlns.com/foaf/0.1/"><title>norman.walsh.name: Comments on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks"/><id>http://norman.walsh.name/2008/02/01/formattingBooks/comments.atom</id><updated>2012-02-13T08:13:18.666336Z</updated><entry><title>Comment 1 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0001"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0001</id><published>2008-02-01T16:23:40Z</published><updated>2008-02-01T16:23:40Z</updated><author><name>david</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>on a mac using firefox - there is no float - they both look the same - except "Some Title" is slightly scrunched under the green header.</p>
  </div></content></entry><entry><title>Comment 2 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0002"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0002</id><published>2008-02-01T16:24:26Z</published><updated>2008-02-01T16:24:26Z</updated><author><name>John Cowan</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>You were formatting online books during the reign of the <a rel="nofollow" href="http://en.wikipedia.org/wiki/Domitian">Emperor Domitian</a> (81-96 <a rel="nofollow" href="http://en.wikipedia.org/wiki/Common_Era">C.E.</a>)?  Impressive.  I hadn't thought the Internet <a rel="nofollow" href="http://en.wikipedia.org/wiki/Hydraulic_telegraph">routers</a> back then had the bandwidth to handle whole books, not to mention that <a rel="nofollow" href="http://en.wikipedia.org/wiki/Tironian_notes">SGML</a> hadn't yet been ported to <a rel="nofollow" href="http://en.wikipedia.org/wiki/Roman_abacus">personal computers</a>.</p>
  </div></content></entry><entry><title>Comment 3 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0003"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0003</id><published>2008-02-01T16:26:43Z</published><updated>2008-02-01T16:26:43Z</updated><author><name>Dorothea Salo</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>The print header/footer paradigm need not extend to a web page. Since you're using CSS anyway, why not try a fixed-to-the-viewport sidebar with navigation options and location information in it?</p>
  </div></content></entry><entry><title>Comment 4 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0004"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0004</id><published>2008-02-01T16:29:57Z</published><updated>2008-02-01T16:29:57Z</updated><author><name>Javad K. Heshmati</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Safari has taken a different approach: two vertical bars, one on the left and one on the right sides of the page. On the right-side-vertical-bar, there is a right-arrow (next) per paragraph. On the left-side-vertical-bar, there is a left-arrow (previous) per paragraph. To see an example, you need to visit (registration is required) My Bookshelf section of Safari (http://safari.oreilly.com) and select a chapter of a book. I don't know if the Safari's approach is the best, but it seems to be practical.</p>
  </div></content></entry><entry><title>Comment 5 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0005"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0005</id><published>2008-02-01T16:30:36Z</published><updated>2008-02-01T16:30:36Z</updated><author><name>Norman Walsh</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>@david, how odd, it works on Firefox on the Mac for me.
</p>
    <p>
@john, I was working on SGML formatting of books in the fall/winter of 1994, I'm pretty sure, but maybe that was only for print. The first online versions were definitely CD-based, not meant for distribution over the web.</p>
  </div></content></entry><entry><title>Comment 6 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0006"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0006</id><published>2008-02-01T18:01:27Z</published><updated>2008-02-01T18:01:27Z</updated><author><name>encryptio</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>do it the css way:
</p>
    <p>
.header { position: fixed; top: 0px; left: 0px; height: whatever; width: 100%; }
</p>
    <p>
.content { padding-top: same_whatever; }</p>
  </div></content></entry><entry><title>Comment 7 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0007"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0007</id><published>2008-02-01T18:23:26Z</published><updated>2008-02-01T18:23:26Z</updated><author><name>Norman Walsh</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>@encryptio, ahhh, thank you, <a rel="nofollow" href="http://norman.walsh.name/2008/02/01/examples/css.html">that's much nicer</a>.
</p>
    <p>
I thought it should be possible with just CSS, but neither my own attempts nor web searching were successful. I'm still not sure I like it, but at least it doesn't flicker anymore.
</p>
    <p>
Sweet.</p>
  </div></content></entry><entry><title>Comment 8 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0008"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0008</id><published>2008-02-01T20:03:42Z</published><updated>2008-02-01T20:03:42Z</updated><author><name>Dave Menendez</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>The problem with the fixed header is that it interferes with the normal paging behavior in most browsers. When you hit space, most browsers will scroll up one screenful, but they have no way of knowing that part of the viewport is obscured by the header. As a result, when you hit space, part of the text on the next screen is put under the header, where you can't read it.
</p>
    <p>
It might be possible to correct that in CSS as well. (Perhaps by putting the main text in another fixed block with overflow set to scroll?)</p>
  </div></content></entry><entry><title>Comment 9 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0009"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0009</id><published>2008-02-01T21:05:27Z</published><updated>2008-02-01T21:05:27Z</updated><author><name>Jacek</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>I just got a new laptop and one of the notable differences from the previous one is that the screen is wider and shorter. I think this is a trend, not a one-off occurrence. Therefore, I'd say put the navigation bar on the side (or both sides).
</p>
    <p>
I also like the idea mentioned above for navigation with paragraphs, that way the user can bookmark their current position to the paragraph; so perhaps a part on the side where every paragraph has an anchor?</p>
  </div></content></entry><entry><title>Comment 10 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0010"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0010</id><published>2008-02-01T21:37:18Z</published><updated>2008-02-01T21:37:18Z</updated><author><name>Jacek</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Idea demonstrated at <a rel="nofollow" href="http://jacek.cz/tmp/css.html">http://jacek.cz/tmp/css.html</a></p>
  </div></content></entry><entry><title>Comment 11 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0011"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0011</id><published>2008-02-02T04:35:34Z</published><updated>2008-02-02T04:35:34Z</updated><author><name>Adrian</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Nothing floating in firefox on ubuntu, both the fixed and floating examples look the same to me...</p>
  </div></content></entry><entry><title>Comment 12 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0012"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0012</id><published>2008-02-03T09:11:57Z</published><updated>2008-02-03T09:11:57Z</updated><author><name>Dave Pawson</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Why does this floating header need to be visible Norm?
Just use your keyboard shortcuts for navigation?
</p>
    <p>
If it *must* be shown, how about a mouseover action which would address the jerkiness of it?</p>
  </div></content></entry><entry><title>Comment 13 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0013"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0013</id><published>2008-02-03T16:23:33Z</published><updated>2008-02-03T16:23:33Z</updated><author><name>Ken MacLeod</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>I'd like to see a <a rel="nofollow" href="http://books.google.com">Google Books</a> style of approach where the entire content has a linear ("all on one page") feel but with hypertext navigation ("page at a time" load rate and linking).  The inherent balancing of short vs. long sections alone would be worth it :-)</p>
  </div></content></entry><entry><title>Comment 14 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0014"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0014</id><published>2008-02-04T11:55:23Z</published><updated>2008-02-04T11:55:23Z</updated><author><name>David Carlisle</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>on windows,
</p>
    <p>
the the javascript float is too jerky to be usable with FF and Opera and doesn't float at all with IE
</p>
    <p>
The css version works fine in FF, Opera and IE, but I much prefer Jacek's layout with the navigation to the side. (I remember early versions of ghostview (or was it xdvi, I forget) moving the navigation controls to the side rather than the top, for similar reasons.</p>
  </div></content></entry><entry><title>Comment 15 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0015"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0015</id><published>2008-02-05T23:19:37Z</published><updated>2008-02-05T23:19:37Z</updated><author><name>Doug</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>I thought I did all right with this example:
http://ugo.crl.nitech.ac.jp/~ddb/CIF/skunkworks.cgi/
</p>
    <p>
The forwards backwards navigation is done via the orange box 
at the top that just pops up via CSS when you hover the mouse 
over it. As ever, it needs a little javascript to test whether
the CSS is supported. 
</p>
    <p>
The basic CSS was this:
div.accesskeyinfo {
      position: fixed;
      background-color: orange;
      border-color: purple;
      border-style: solid;
      border-width: 5px;
      overflow: clip;
      white-space: nowrap;
      padding: 5px 5px;
      text-align: center;
      left: 10%;
      width: 80%;
      top: -30px;
}
</p>
    <p>
div.accesskeyinfo:hover {
      top: 00px;
}
</p>
    <p>
Solves all positioning paging real estate issues, 
I thought anyway.
</p>
    <p>
Cheers
Doug</p>
  </div></content></entry><entry><title>Comment 16 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0016"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0016</id><published>2008-02-06T18:01:52Z</published><updated>2008-02-06T18:01:52Z</updated><author><name>John Cowan</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Hmm.  I'm not sure if you're subjecting my comment to silent scorn, or if you just didn't bother to mouse over the links.</p>
  </div></content></entry><entry><title>Comment 17 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0017"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0017</id><published>2008-02-07T12:46:11Z</published><updated>2008-02-07T12:46:11Z</updated><author><name>Norman Walsh</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>I'm not sure what you mean, John. I did respond (comment 5). Mostly, I think, you made me doubt my own time line. I wonder if I could still use an abacus; I did learn once.</p>
  </div></content></entry><entry><title>Comment 18 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0018"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0018</id><published>2008-02-11T19:15:28Z</published><updated>2008-02-11T19:15:28Z</updated><author><name>Ismael Olea</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>The floating bar is really good idea. I've always wanted to put information related with the document on a floating bar, for example links to sources, to discussion forums and any other metadata related with the document.</p>
  </div></content></entry><entry><title>Comment 19 on /2008/02/01/formattingBooks</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/01/formattingBooks#comment0019"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0019</id><published>2008-02-26T11:42:42Z</published><updated>2008-02-26T11:42:42Z</updated><author><name>Tobi</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Here's one way to implement navigation across the sections (and pages) of an online book:
</p>
    <p>
http://www.pinkjuice.com/howto/vimxml/
</p>
    <p>
eg the TOC on the left side on
http://www.pinkjuice.com/howto/vimxml/setup.xml#catalogs</p>
  </div></content></entry></feed>

