Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2004 09:30:28 +0200
From:      "Simon L. Nielsen" <simon@FreeBSD.org>
To:        Murray Stokely <murray@FreeBSD.org>
Cc:        Marc Fonvieille <blackend@FreeBSD.org>
Subject:   Re: RFC: initialisms and FDP
Message-ID:  <20040715073027.GA725@zaphod.nitro.dk>
In-Reply-To: <20040715071709.GB55440@hub.freebsd.org>
References:  <20040713074042.GA5126@abigail.blackend.org> <20040713170624.GU29928@submonkey.net> <20040713181500.GA10935@abigail.blackend.org> <20040715071709.GB55440@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2004.07.15 07:17:09 +0000, Murray Stokely wrote:

> It would be really nice if we had some applications of all these
> <acronym> tags before spamming our SGML files with them.  I think it
> would be really cool if we had a mouse over rule for the HTML output
> to display the expanded form of the abbreviation.  Also, the first
> occurence in a file could point to the glossary as was mentioned.

That actually might be rather simple to do, by doing copy-paste of the
DSSSL code I made for the trademark stuff.

> Until we have some kind of application, I don't want to spend any time
> adding <acronym> tags.
>=20
> How are mouseover's defined these days?  Is this standardized in CSS2
> or only a Javascript thing?  If it's in CSS2, then we could write some
> simple xsl code to make a pass through the docs and output some rules
> to append to docbook.css during the build.

It's actually defined (to a degree) in HTML 4.  The title attribute on
most tags can be used to create a single line mouseover text.
E.g. see the language selection on http://www.freebsd.org/.  If we
need multi-line I think it has to be done with JavaScript - at least I
couldn't find a proper way the last time I looked.

Of course there is also the HTML acronym tag (which might be named
something different but the idea is the same as the DocBook one) that
can be used.  In most browsers that renders to a dotted underlined
item which can be used to indicate an acronym and then the title
attribute can be used to actually get a mouseover explanation.

--=20
Simon L. Nielsen
FreeBSD Documentation Team

--qMm9M+Fa2AknHoGS
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA9jKTh9pcDSc1mlERAiXvAKC8n35c+13OIZDdkdfEMvgmnrU5JwCeIO7h
4fGOR46f2NHHVdQ/n4BvY8g=
=P4Rl
-----END PGP SIGNATURE-----

--qMm9M+Fa2AknHoGS--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040715073027.GA725>