[TYPO3] Automatic tooltip on all keywords?

Lasse Guldsborg lasse at clioonline.dk
Thu Feb 15 14:07:16 CET 2007


Hi Peter

OK! I'll take a closer look at the glossary extensions.

Something else however:
This morning I upgraded my browser from IE6 to IE7, and it seems IE7 has an 
unfortunate influence on how (or rather where) the tooltips a displayed. 
When you scroll down on the website the tooltips start to get displaced, and 
soon they will be displayed so far away from the mouse (and the keyword) 
that you can't even see the tooltip anymore. (I tested the same website on 
several other PC's still running IE6, and there is no problem).

Is this something that should be reported as a bug?

Best regards,
Lasse


"Peter Klein" <peter at umloud.dk> skrev i en meddelelse 
news:mailman.1.1171477687.17763.typo3-english at lists.netfielders.de...
> Hi Lasse.
> I don't think you can do much more using the "short" property. If you need 
> more control, you'll have to write a userFunc.
>
> But have you checked these 2 extensions?
> http://typo3.org/extensions/repository/view/mr_glossary/0.1.4/
> http://typo3.org/extensions/repository/view/mr_parseglossary/0.4.0/
>
> I think the do something similar (I haven't tried them myself), but takes 
> the tooltip from DB.
>
> --
> Peter Klein / Umloud Untd
>
> "Lasse Guldsborg" <lasse at clioonline.dk> wrote in message 
> news:mailman.1.1171461869.31240.typo3-english at lists.netfielders.de...
>> Hi Peter!
>>
>> Thank you so much! That's a great idea, and it works perfectly :o)
>>
>> One question though. If I use this code:
>>
>> lib.parseFunc_RTE.short {
>>  sword = <a href="javascript:void(0);" style="text-decoration:none;" 
>> onmouseover="return overlib.ov('A sword i a melee combat object', 
>> CAPTION, 'Sword');" onmouseout="return overlib.nd();">sword</a>
>> }
>>
>> Then every time the word "sword" is in my text, it has a tooltip. And 
>> that is great!
>> But if I write the word "swordfish" then the first part of the word is 
>> added with the "sword" tooltip as well, which is not so fortunate ;o)
>>
>> Is there any way to avoid this?
>>
>> Best regards,
>> Lasse
>>
>>
>> "Peter Klein" <peter at umloud.dk> skrev i en meddelelse 
>> news:mailman.1.1171442029.30813.typo3-english at lists.netfielders.de...
>>> Hi Lasse.
>>> You could use the 'short' property of "parseFunc" to create custom wraps 
>>> for various keywords.
>>> Or write a small userFunc if you want the tooltips to come from a DB 
>>> table..
>>> See: 
>>> http://typo3.org/documentation/document-library/references/doc_core_tsref/4.0.0/view/5/14/
>>>
>>> -- 
>>> Peter Klein/Umloud Untd
>>>
>>>
>>> "Lasse Guldsborg" <lasse at clioonline.dk> skrev i en meddelelse 
>>> news:mailman.1.1171379048.26469.typo3-english at lists.netfielders.de...
>>>> Hi all
>>>>
>>>> I'm using the Tooltip Tag extension (cc_typotag_tooltip), and loving it 
>>>> :o)
>>>> But its an extensive work to set up all the individual tooltips..
>>>>
>>>> Does anyone know of a way to implement the tooltips automatically? 
>>>> Meaning that every time a give word is shown in the page content, the 
>>>> matching tooltip is set around it?
>>>>
>>>> Best regards,
>>>> Lasse
>>>>
>>>
>>>
>>
>>
>
> 




More information about the TYPO3-english mailing list