Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 36CA16335A1 for ; Thu, 1 Oct 2009 05:12:38 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 14497-02 for ; Thu, 1 Oct 2009 08:12:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from relay.pcl-ipout02.plus.net (relay.pcl-ipout02.plus.net [212.159.7.100]) by mail.postgresql.org (Postfix) with ESMTP id 785F2632C5B for ; Thu, 1 Oct 2009 05:12:27 -0300 (ADT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEALcAxErUnw4T/2dsb2JhbADWV4QoBA Received: from pih-relay06.plus.net ([212.159.14.19]) by relay.pcl-ipout02.plus.net with ESMTP; 01 Oct 2009 09:12:25 +0100 Received: from [84.51.143.99] (helo=server3.office.archonet.com) by pih-relay06.plus.net with esmtp (Exim) id 1MtGm1-00040j-3F; Thu, 01 Oct 2009 09:12:25 +0100 Received: from [192.168.1.36] (dell36.office.archonet.com [192.168.1.36]) by server3.office.archonet.com (Postfix) with ESMTPA id 58F0C27408D; Thu, 1 Oct 2009 09:12:24 +0100 (BST) Message-ID: <4AC46468.7010307@archonet.com> Date: Thu, 01 Oct 2009 09:12:24 +0100 From: Richard Huxton User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: "David E. Wheeler" CC: Andrew Dunstan , Alvaro Herrera , Peter Eisentraut , pgsql-hackers@postgresql.org, Dimitri Fontaine Subject: Re: navigation menu for documents References: <4A5CE7EB.20809@pgexperts.com> <4A5D10AD.6060305@dunslane.net> <4A5D1464.4040202@archonet.com> <200907151333.02260.peter_e@gmx.net> <4A607573.60904@archonet.com> <20090929151548.GD6116@alvh.no-ip.org> <4AC22933.2030701@dunslane.net> <4AC22DE5.8060805@archonet.com> <7E8F774C-0F55-4512-BC04-A38CA8358DBE@kineticode.com> In-Reply-To: <7E8F774C-0F55-4512-BC04-A38CA8358DBE@kineticode.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Plusnet-Relay: c13741d9f0af793231a88c632b2126db X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.484 tagged_above=-10 required=5 tests=AWL=-0.744, BAYES_20=-0.74 X-Spam-Level: X-Archive-Number: 200910/17 X-Sequence-Number: 146829 David E. Wheeler wrote: > On Sep 29, 2009, at 8:55 AM, Richard Huxton wrote: > >> For the browser, does the following match what you're after, Andrew? >> - clicking chapter title opens the browser panel >> - panel stays open until you click close icon >> - panel contains collapsable tree of chapter/section headings >> Alternatively, could just auto-open the browser panel if javascript is >> enabled and window is wider than N pixels. > > Why wouldn't the entire TOC be in a collapsed list? Permanently on-screen? My only concern there would be for people viewing on phones etc. >> In addition we'll presumably want to meet: >> - no external js libraries (or do we care, if we just reference it from >> google?) > > Save yourself the hassle and just bundle jQuery. That's what I've done > for Pod::Site (module that builds the Bricolage API browser). It's MIT licensed (well MIT+GPL) which is BSD compatible, but I don't know if that's acceptable. It would be easier for me if it could be bundled and presumably make it easier for other contributors in the future too. >> - navigation is optional, disabling js leaves docs as at present > > As long as there's a way to get the nav back from a link on each doc page. > >> - works on all reasonable browsers (anything not IE6) > > +1 (IE6--) > >> - works online and in downloaded docs (except Windows .chm of course) > > That'd be nice, too. Offline is crucial as far as I'm concerned. -- Richard Huxton Archonet Ltd