lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] title attributes


From: Thomas Dickey
Subject: Re: [Lynx-dev] title attributes
Date: Mon, 5 Oct 2020 18:30:46 -0400
User-agent: NeoMutt/20170113 (1.7.2)

On Mon, Oct 05, 2020 at 08:26:51PM +0000, Thorsten Glaser wrote:
> À propos alt tags… I’d like lynx to display title attributes,
> perhaps bound to the * key as with alt, or with a new keybinding.
> 
> From…
> 
>       <span title="bar">foo</span>
> 
> … it should make something like…
> 
>         colour unchanged
>
>        .^,
>       {foo}[bar]
>       ↑   ↑`-v-´
>   dark colour  ↑
>              some other colour
> 
> The colour of the curly braces surrounding the thing the title
> attribute is valid for should be something unobtrusive, e.g.
> bright black, if the application background is black (this is
> the equivalent of COLOR 8,0 in BASIC).
> 
> The colour of foo is unchanged from current…
> 
>       <span>foo</span>
> 
> … or whatever element the title attribute attaches to (that
> is, green/yellow for a, etc).
> 
> The colour of the title attribute’s value in brackets could
> be brown like for alt attributes.
> 
> I recently had a fanfiction I was reading which had embedded
> French (which I don’t speak) and the translation within the
> title attribute “so you just need to hover the cursor over it
> to see the translation”, heh, which obviously won’t fly with
> lynx (or in PDF/EPUB or on a pocketpc).
> 
> 
> Someone interested in implementing it? ;-)

Since you know what you'd like it to do,
this would be a useful exercise for you.

(I'm mostly interested in fixing portability or configuration problems,
but will help integrate patches that demonstrate the feature).

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]