From: Richard Huxton <dev@archonet.com>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers@postgresql.org, Andrew Dunstan <andrew@dunslane.net>
Cc: Dimitri Fontaine <dfontaine@hi-media.com>
Subject: Re: navigation menu for documents
Date: Fri, 17 Jul 2009 13:58:27 +0100
Message-ID: <4A607573.60904@archonet.com> (raw)
In-Reply-To: <200907151333.02260.peter_e@gmx.net>
References: <4A5CE7EB.20809@pgexperts.com>
<4A5D10AD.6060305@dunslane.net>
<4A5D1464.4040202@archonet.com>
<200907151333.02260.peter_e@gmx.net>
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
I've tested it on Firefox, Opera, IE7 and Safari. Realistically, the
only real problem platforms will be IE6 and perhaps iphones.
--
Richard Huxton
Archonet Ltd
Attachments:
[application/x-compressed-tar] STYLING.tgz (26.2K, ../4A607573.60904@archonet.com/2-STYLING.tgz)
download
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: dev@archonet.com, peter_e@gmx.net, andrew@dunslane.net, dfontaine@hi-media.com
Subject: Re: navigation menu for documents
In-Reply-To: <4A607573.60904@archonet.com>
* 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