pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-hackers@postgresql.org
Cc: Richard Huxton <dev@archonet.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Dimitri Fontaine <dfontaine@hi-media.com>
Subject: Re: navigation menu for documents
Date: Sat, 18 Jul 2009 18:17:19 +0300
Message-ID: <200907181817.24363.peter_e@gmx.net> (raw)
In-Reply-To: <4A607573.60904@archonet.com>
References: <4A5CE7EB.20809@pgexperts.com>
	<200907151333.02260.peter_e@gmx.net>
	<4A607573.60904@archonet.com>

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.



view thread (34+ messages)  latest in thread

Message-ID: <200907181817.24363.peter_e@gmx.net>
Permalink:  ../200907181817.24363.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200907181817.24363.peter_e@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: peter_e@gmx.net, dev@archonet.com, andrew@dunslane.net, dfontaine@hi-media.com
  Subject: Re: navigation menu for documents
  In-Reply-To: <200907181817.24363.peter_e@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox