Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 71B006335BB for ; Sat, 18 Jul 2009 12:17:40 -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 56440-06 for ; Sat, 18 Jul 2009 12:17:29 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.postgresql.org (Postfix) with SMTP id 02CE963341A for ; Sat, 18 Jul 2009 12:17:28 -0300 (ADT) Received: (qmail invoked by alias); 18 Jul 2009 15:17:26 -0000 Received: from a91-154-107-53.elisa-laajakaista.fi (EHLO vanquo.pezone.net) [91.154.107.53] by mail.gmx.net (mp019) with SMTP; 18 Jul 2009 17:17:26 +0200 X-Authenticated: #495269 X-Provags-ID: V01U2FsdGVkX1+xWOh9nUGxMIO0UAHje++41rej7sYXX+JUQ9Ly2B YGaGpEy4X9VrIk From: Peter Eisentraut To: pgsql-hackers@postgresql.org Subject: Re: navigation menu for documents Date: Sat, 18 Jul 2009 18:17:19 +0300 User-Agent: KMail/1.11.2 (Linux/2.6.26-2-686; KDE/4.2.4; i686; ; ) Cc: Richard Huxton , Andrew Dunstan , Dimitri Fontaine References: <4A5CE7EB.20809@pgexperts.com> <200907151333.02260.peter_e@gmx.net> <4A607573.60904@archonet.com> In-Reply-To: <4A607573.60904@archonet.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907181817.24363.peter_e@gmx.net> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.087 tagged_above=0 required=5 tests=AWL=0.087 X-Spam-Level: X-Archive-Number: 200907/1156 X-Sequence-Number: 141778 On Friday 17 July 2009 15:58:27 Richard Huxton wrote: > 1. Fixed navigation > Copy STYLING/stylesheet.css over the existing one and you will have > static navigation links top and bottom of the page. Looks good. > 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. Yes, the DSSSL stylesheet could do that. > 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 This looks very cool, but should probably be implemented via a stylesheet change instead of some Perl parsing some HTML. :-) I'm not sure if this actually addresses Andrew's original concern, though.