Re: navigation menu for documents

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, Andrew Dunstan <andrew(at)dunslane(dot)net>, Dimitri Fontaine <dfontaine(at)hi-media(dot)com>
Subject: Re: navigation menu for documents
Date: 2009-09-29 15:15:48
Message-ID: 20090929151548.GD6116@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-09-29 15:29:57 Re: Using results from INSERT ... RETURNING
Previous Message Tom Lane 2009-09-29 15:05:36 Re: [PATCH] DefaultACLs