Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id BB453633283 for ; Tue, 29 Sep 2009 12:16:02 -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 92113-05 for ; Tue, 29 Sep 2009 15:15:52 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id 1EC946327AC for ; Tue, 29 Sep 2009 12:15:51 -0300 (ADT) Received: from perhan.alvh.no-ip.org (190-95-28-4.bk17-dsl.surnet.cl [190.95.28.4]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 0DFB634816D; Tue, 29 Sep 2009 08:15:50 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 83D506E4AC; Tue, 29 Sep 2009 11:15:48 -0400 (CLT) Date: Tue, 29 Sep 2009 11:15:48 -0400 From: Alvaro Herrera To: Richard Huxton Cc: Peter Eisentraut , pgsql-hackers@postgresql.org, Andrew Dunstan , Dimitri Fontaine Subject: Re: navigation menu for documents Message-ID: <20090929151548.GD6116@alvh.no-ip.org> References: <4A5CE7EB.20809@pgexperts.com> <4A5D10AD.6060305@dunslane.net> <4A5D1464.4040202@archonet.com> <200907151333.02260.peter_e@gmx.net> <4A607573.60904@archonet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A607573.60904@archonet.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.481 tagged_above=-10 required=5 tests=AWL=0.118, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200909/1875 X-Sequence-Number: 146681 Did this go anywhere? Richard Huxton wrote: > OK, if you untar the attached in the docs dir there are a three > separate sets of changes in it. It all functions, but consider it a > discussion point rather than a patch. Presumably we'd need to > discuss a patch over on the docs mailing-list. > > 1. Fixed navigation > Copy STYLING/stylesheet.css over the existing one and you will have > static navigation links top and bottom of the page. > > 2. Titles on navigation links. > Run ./STYLING/title_links.pl and it should add title attributes to > the navigation links. This means hovering over the top links gives > the title of the page they will go to. Presumably we could do this > directly from the sgml source, and I think it's probably worthwhile. > > With 1+2 I think there's an argument in favour of removing the > bottom navigation - it's only useful if you can't see the top links. > > 3. Javascript popup menu. > This uses jquery, but that's just for convenience during discussion. > You could rework this without it. > Copy STYLING/*.js and STYLING/menu.inc to the docs dir and then run > ./STYLING/include_javascript.pl to include the popup script. > The central "chapter heading" section of the top navigation area > should now be a link that toggles the menu on/off. > The menu could be as simple/complex as you like - this is just what > I hacked together by parsing the TOC on index.html -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support