[Zope3-dev] replacing acronyms for tooltips
Garrett Smith
garrett at mojave-corp.com
Sun Jan 18 15:57:12 EST 2004
I'd like to replace the existing 'tooltip' implementation in widgets,
which uses the 'acronym' tag.
Acronyms really aren't appropriate here and are not widely supported by
browsers. There's a note to replace the acronym with DHTML/JavaScript.
I've done a quick survey of DHTML/JavaScript tooltip implementations and
haven't seen one that works perfectly -- each has some drawbacks when
used on various browser (some hand waving here). In addition, the
DHTML/JavaScript approach requires a sizable JavaScript file download
(10-15K) to get the functionality. And there's the matter of what
license the tooltip code is available under.
Until we can find or develop a sufficiently robust tooltip
implementation, I propose that we use the 'title' attribute of
span/div/a tags whenever we want to display a tooltip. While 'title'
isn't perfect either, it seems to be an emerging standard for tooltips
and doesn't require JavaScript. In any case, I think it's preferable to
acronym.
Are there any objections to replacing the use of 'acronym' with the
'title' attribute in span/div/a tags to display tooltips?
-- Garrett
More information about the Zope3-dev
mailing list