Re: navigation menu for documents - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: navigation menu for documents
Date
Msg-id 200907181817.24363.peter_e@gmx.net
Whole thread Raw
In response to Re: navigation menu for documents  (Richard Huxton <dev@archonet.com>)
Responses Re: navigation menu for documents
Re: navigation menu for documents
List pgsql-hackers
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.


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [PATCH] SE-PgSQL/tiny rev.2193
Next
From: Andrew Dunstan
Date:
Subject: Re: navigation menu for documents