[dev] [commits] Horde branch master updated. 83861e3157b21b1de29df6a167393e731a7e8ddf

Jan Schneider jan at horde.org
Fri Jul 31 11:27:41 UTC 2009


Zitat von Michael M Slusarz <slusarz at horde.org>:

> Quoting Jan Schneider <jan at horde.org>:
>
>> Zitat von Michael M Slusarz <slusarz at horde.org>:
>>
>>> Quoting Michael Rubinsky <mike at theupstairsroom.com>:
>>>
>>>>  Third time's a charm?
>>>>
>>>>  Move this before we *determine* if prototype is needed...not just
>>>>  before we include it.
>>>>
>>>> framework/Core/lib/Horde/Script/Files.php |    5 ++---
>>>> 1 files changed, 2 insertions(+), 3 deletions(-)
>>>
>>> Tooltips should not be automatically loaded.  There are all sorts  
>>> of pages that don't use it at all, and it breaks various things in  
>>> dimp.
>>
>> Though it's being used on almost all pages. What does it break in  
>> dimp and what's your general thought about the tooltip library? I  
>> really don't want to load it manually in any page that might  
>> contain an element with a title attribute.
>
> My thought is that we don't need it in 98% of the use cases.  Using  
> the browser's native title parameter display is more than adequate  
> for most things (in IMP: displaying truncated subject names in  
> mailbox lists; in DIMP: showing the e-mail addresses in header  
> fields when a user name is shown).  Using tooltips here is extreme  
> overkill.

Now that the title attribute is properly supported in all recent  
browsers, this is true.

> Tooltips are only useful for situations where the title is providing  
> extra information and/or information that can not be formatted  
> correctly via browser tooltips (IMP previews; various kronolith  
> hover elements).  In these specific situations, it is not too much  
> to ask a developer to manually add the tooltips library.

We need to change both the link generation in Horde:: and the  
Horde_ToolTip library to no longer change title attributes to  
nicetitle attributes, and to allow developers to explicitely request  
nicetitle attributes (or let's name it "tooltip" while we're at it).

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.horde.org/archives/dev/attachments/20090731/8cfd2573/attachment.bin>


More information about the dev mailing list